All in One SEO Pack - Version 2.3.11.1

Version Description

Download this release

Release Info

Developer hallsofmontezuma
Plugin Icon 128x128 All in One SEO Pack
Version 2.3.11.1
Comparing to
See all releases

Code changes from version 2.3.11 to 2.3.11.1

admin/aioseop_module_class.php CHANGED
@@ -502,7 +502,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Module' ) ) {
502
  $regex = '';
503
  $cont = 0;
504
  foreach ( $list as $l ) {
505
- if ( $cont ) {
506
  $regex .= '|';
507
  }
508
  $cont = 1;
502
  $regex = '';
503
  $cont = 0;
504
  foreach ( $list as $l ) {
505
+ if ( $cont && ! empty( $l ) ) {
506
  $regex .= '|';
507
  }
508
  $cont = 1;
all_in_one_seo_pack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: https://semperfiwebdesign.com
5
  Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. Almost 30 million downloads since 2007.
6
- Version: 2.3.11
7
  Author: Michael Torbert
8
  Author URI: https://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
@@ -31,14 +31,14 @@ 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 2.3.11
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
- define( 'AIOSEOP_VERSION', '2.3.11' );
42
  }
43
  global $aioseop_plugin_name;
44
  $aioseop_plugin_name = 'All in One SEO Pack';
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: https://semperfiwebdesign.com
5
  Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. Almost 30 million downloads since 2007.
6
+ Version: 2.3.11.1
7
  Author: Michael Torbert
8
  Author URI: https://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
31
  * The original WordPress SEO plugin.
32
  *
33
  * @package All-in-One-SEO-Pack
34
+ * @version 2.3.11.1
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
+ define( 'AIOSEOP_VERSION', '2.3.11.1' );
42
  }
43
  global $aioseop_plugin_name;
44
  $aioseop_plugin_name = 'All in One SEO Pack';
modules/aioseop_bad_robots.php CHANGED
@@ -190,7 +190,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Bad_Robots' ) ) {
190
  */
191
  function filter_bad_referlist( $referlist ) {
192
  if ( $this->option_isset( 'edit_blocks' ) && $this->option_isset( 'block_refer' ) && $this->option_isset( 'referlist' ) ) {
193
- $referlist = explode( "\n", $this->options["{$this->prefix}referlist"] );
194
  }
195
 
196
  return $referlist;
@@ -203,7 +203,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Bad_Robots' ) ) {
203
  */
204
  function filter_bad_botlist( $botlist ) {
205
  if ( $this->option_isset( 'edit_blocks' ) && $this->option_isset( 'blocklist' ) ) {
206
- $botlist = explode( "\n", $this->options["{$this->prefix}blocklist"] );
207
  }
208
 
209
  return $botlist;
@@ -216,6 +216,11 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Bad_Robots' ) ) {
216
  * @param string $msg
217
  */
218
  function blocked_message( $msg ) {
 
 
 
 
 
219
  if ( empty( $this->options["{$this->prefix}blocked_log"] ) ) {
220
  $this->options["{$this->prefix}blocked_log"] = '';
221
  }
190
  */
191
  function filter_bad_referlist( $referlist ) {
192
  if ( $this->option_isset( 'edit_blocks' ) && $this->option_isset( 'block_refer' ) && $this->option_isset( 'referlist' ) ) {
193
+ $referlist = preg_split('/\r\n|[\r\n]/', $this->options["{$this->prefix}referlist"] );
194
  }
195
 
196
  return $referlist;
203
  */
204
  function filter_bad_botlist( $botlist ) {
205
  if ( $this->option_isset( 'edit_blocks' ) && $this->option_isset( 'blocklist' ) ) {
206
+ $botlist = preg_split('/\r\n|[\r\n]/', $this->options["{$this->prefix}blocklist"] );
207
  }
208
 
209
  return $botlist;
216
  * @param string $msg
217
  */
218
  function blocked_message( $msg ) {
219
+
220
+ if ( ! $this->option_isset( 'track_blocks' ) ) {
221
+ return; // Only log if track blocks is checked.
222
+ }
223
+
224
  if ( empty( $this->options["{$this->prefix}blocked_log"] ) ) {
225
  $this->options["{$this->prefix}blocked_log"] = '';
226
  }
readme.txt CHANGED
@@ -3,12 +3,12 @@ Contributors: hallsofmontezuma, wpsmort, dougal, pbaylies, arnaudbroes
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
  Tags: seo, all in one seo, google, twitter, page, image seo, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, google sitemap, sitemaps, robots meta, yahoo, bing, news sitemaps, multisite, canonical, nofollow, noindex, keywords, description, webmaster tools, google webmaster tools, google analytics
5
  Requires at least: 4.0
6
- Tested up to: 4.6
7
- Stable tag: 2.3.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- One of the most downloaded plugins for WordPress (over 30 million downloads since 2007). Use All in One SEO Pack to automatically optimize your site for Search Engines.
12
 
13
  == Description ==
14
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
  Tags: seo, all in one seo, google, twitter, page, image seo, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, google sitemap, sitemaps, robots meta, yahoo, bing, news sitemaps, multisite, canonical, nofollow, noindex, keywords, description, webmaster tools, google webmaster tools, google analytics
5
  Requires at least: 4.0
6
+ Tested up to: 4.7
7
+ Stable tag: 2.3.11.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ One of the most downloaded WordPress plugins (over 30 million downloads since 2007). Use All in One SEO Pack to optimize your site for Search Engines.
12
 
13
  == Description ==
14