Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 3.3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.3.1.1
- all_in_one_seo_pack.php +3 -3
- inc/general/aioseop-robots-meta.php +16 -16
- readme.txt +1 -1
all_in_one_seo_pack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: All In One SEO Pack
|
4 |
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
5 |
Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
|
6 |
-
Version: 3.3.1
|
7 |
Author: Michael Torbert
|
8 |
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
9 |
Text Domain: all-in-one-seo-pack
|
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
31 |
* The original WordPress SEO plugin.
|
32 |
*
|
33 |
* @package All-in-One-SEO-Pack
|
34 |
-
* @version 3.3.1
|
35 |
*/
|
36 |
|
37 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
@@ -45,7 +45,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) ) {
|
|
45 |
}
|
46 |
}
|
47 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
48 |
-
define( 'AIOSEOP_VERSION', '3.3.1' );
|
49 |
}
|
50 |
|
51 |
/*
|
3 |
Plugin Name: All In One SEO Pack
|
4 |
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
5 |
Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
|
6 |
+
Version: 3.3.1.1
|
7 |
Author: Michael Torbert
|
8 |
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
9 |
Text Domain: all-in-one-seo-pack
|
31 |
* The original WordPress SEO plugin.
|
32 |
*
|
33 |
* @package All-in-One-SEO-Pack
|
34 |
+
* @version 3.3.1.1
|
35 |
*/
|
36 |
|
37 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
45 |
}
|
46 |
}
|
47 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
48 |
+
define( 'AIOSEOP_VERSION', '3.3.1.1' );
|
49 |
}
|
50 |
|
51 |
/*
|
inc/general/aioseop-robots-meta.php
CHANGED
@@ -21,11 +21,11 @@ class AIOSEOP_Robots_Meta {
|
|
21 |
*
|
22 |
* @var array
|
23 |
*/
|
24 |
-
private
|
25 |
|
26 |
public function __construct() {
|
27 |
global $aioseop_options;
|
28 |
-
$plugin_options = $aioseop_options;
|
29 |
}
|
30 |
|
31 |
/**
|
@@ -246,7 +246,7 @@ class AIOSEOP_Robots_Meta {
|
|
246 |
* @return bool
|
247 |
*/
|
248 |
private function is_noindexed_paginated_page( $page_number ) {
|
249 |
-
if ( ! empty( $plugin_options['aiosp_paginated_noindex'] ) && 1 < $page_number ) {
|
250 |
return true;
|
251 |
}
|
252 |
return false;
|
@@ -263,7 +263,7 @@ class AIOSEOP_Robots_Meta {
|
|
263 |
* @return bool
|
264 |
*/
|
265 |
private function is_nofollowed_paginated_page( $page_number ) {
|
266 |
-
if ( ! empty( $plugin_options['aiosp_paginated_nofollow'] ) && 1 < $page_number ) {
|
267 |
return true;
|
268 |
}
|
269 |
return false;
|
@@ -299,12 +299,12 @@ class AIOSEOP_Robots_Meta {
|
|
299 |
*/
|
300 |
private function is_noindexed_tax() {
|
301 |
if (
|
302 |
-
( is_category() && ! empty( $plugin_options['aiosp_category_noindex'] ) ) ||
|
303 |
-
( is_date() && ! empty( $plugin_options['aiosp_archive_date_noindex'] ) ) ||
|
304 |
-
( is_author() && ! empty( $plugin_options['aiosp_archive_author_noindex'] ) ) ||
|
305 |
-
( is_tag() && ! empty( $plugin_options['aiosp_tags_noindex'] ) ) ||
|
306 |
-
( is_search() && ! empty( $plugin_options['aiosp_search_noindex'] ) ) ||
|
307 |
-
( is_404() && ! empty( $plugin_options['aiosp_404_noindex'] ) ) ||
|
308 |
( is_tax() && in_array( get_query_var( 'taxonomy' ), $this->get_noindexed_taxonomies() ) )
|
309 |
) {
|
310 |
return true;
|
@@ -322,8 +322,8 @@ class AIOSEOP_Robots_Meta {
|
|
322 |
* @return array
|
323 |
*/
|
324 |
private function get_noindexed_taxonomies() {
|
325 |
-
if ( isset( $plugin_options['aiosp_tax_noindex'] ) && ! empty( $plugin_options['aiosp_tax_noindex'] ) ) {
|
326 |
-
return $plugin_options['aiosp_tax_noindex'];
|
327 |
}
|
328 |
return array();
|
329 |
}
|
@@ -342,8 +342,8 @@ class AIOSEOP_Robots_Meta {
|
|
342 |
*/
|
343 |
private function is_noindexed_singular( $post_type, $post_meta_noindex ) {
|
344 |
if ( is_singular() && '' === $post_meta_noindex &&
|
345 |
-
! empty( $plugin_options['aiosp_cpostnoindex'] ) &&
|
346 |
-
in_array( $post_type, $plugin_options['aiosp_cpostnoindex'] )
|
347 |
) {
|
348 |
return true;
|
349 |
}
|
@@ -364,8 +364,8 @@ class AIOSEOP_Robots_Meta {
|
|
364 |
*/
|
365 |
private function is_nofollowed_singular( $post_type, $post_meta_follow ) {
|
366 |
if ( is_singular() && '' === $post_meta_follow &&
|
367 |
-
! empty( $plugin_options['aiosp_cpostnofollow'] ) &&
|
368 |
-
in_array( $post_type, $plugin_options['aiosp_cpostnofollow'] )
|
369 |
) {
|
370 |
return true;
|
371 |
}
|
21 |
*
|
22 |
* @var array
|
23 |
*/
|
24 |
+
private $plugin_options;
|
25 |
|
26 |
public function __construct() {
|
27 |
global $aioseop_options;
|
28 |
+
$this->plugin_options = $aioseop_options;
|
29 |
}
|
30 |
|
31 |
/**
|
246 |
* @return bool
|
247 |
*/
|
248 |
private function is_noindexed_paginated_page( $page_number ) {
|
249 |
+
if ( ! empty( $this->plugin_options['aiosp_paginated_noindex'] ) && 1 < $page_number ) {
|
250 |
return true;
|
251 |
}
|
252 |
return false;
|
263 |
* @return bool
|
264 |
*/
|
265 |
private function is_nofollowed_paginated_page( $page_number ) {
|
266 |
+
if ( ! empty( $this->plugin_options['aiosp_paginated_nofollow'] ) && 1 < $page_number ) {
|
267 |
return true;
|
268 |
}
|
269 |
return false;
|
299 |
*/
|
300 |
private function is_noindexed_tax() {
|
301 |
if (
|
302 |
+
( is_category() && ! empty( $this->plugin_options['aiosp_category_noindex'] ) ) ||
|
303 |
+
( is_date() && ! empty( $this->plugin_options['aiosp_archive_date_noindex'] ) ) ||
|
304 |
+
( is_author() && ! empty( $this->plugin_options['aiosp_archive_author_noindex'] ) ) ||
|
305 |
+
( is_tag() && ! empty( $this->plugin_options['aiosp_tags_noindex'] ) ) ||
|
306 |
+
( is_search() && ! empty( $this->plugin_options['aiosp_search_noindex'] ) ) ||
|
307 |
+
( is_404() && ! empty( $this->plugin_options['aiosp_404_noindex'] ) ) ||
|
308 |
( is_tax() && in_array( get_query_var( 'taxonomy' ), $this->get_noindexed_taxonomies() ) )
|
309 |
) {
|
310 |
return true;
|
322 |
* @return array
|
323 |
*/
|
324 |
private function get_noindexed_taxonomies() {
|
325 |
+
if ( isset( $this->plugin_options['aiosp_tax_noindex'] ) && ! empty( $this->plugin_options['aiosp_tax_noindex'] ) ) {
|
326 |
+
return $this->plugin_options['aiosp_tax_noindex'];
|
327 |
}
|
328 |
return array();
|
329 |
}
|
342 |
*/
|
343 |
private function is_noindexed_singular( $post_type, $post_meta_noindex ) {
|
344 |
if ( is_singular() && '' === $post_meta_noindex &&
|
345 |
+
! empty( $this->plugin_options['aiosp_cpostnoindex'] ) &&
|
346 |
+
in_array( $post_type, $this->plugin_options['aiosp_cpostnoindex'] )
|
347 |
) {
|
348 |
return true;
|
349 |
}
|
364 |
*/
|
365 |
private function is_nofollowed_singular( $post_type, $post_meta_follow ) {
|
366 |
if ( is_singular() && '' === $post_meta_follow &&
|
367 |
+
! empty( $this->plugin_options['aiosp_cpostnofollow'] ) &&
|
368 |
+
in_array( $post_type, $this->plugin_options['aiosp_cpostnofollow'] )
|
369 |
) {
|
370 |
return true;
|
371 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: hallsofmontezuma, semperplugins, wpsmort, arnaudbroes
|
|
3 |
Tags: SEO, Google Search Console, XML Sitemap, meta description, meta title, noindex
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.3
|
6 |
-
Stable tag: 3.3.1
|
7 |
License: GPLv2 or later
|
8 |
Requires PHP: 5.2.4
|
9 |
|
3 |
Tags: SEO, Google Search Console, XML Sitemap, meta description, meta title, noindex
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.3
|
6 |
+
Stable tag: 3.3.1.1
|
7 |
License: GPLv2 or later
|
8 |
Requires PHP: 5.2.4
|
9 |
|