All in One SEO Pack - Version 3.0.1

Version Description

Download this release

Release Info

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

Code changes from version 3.0 to 3.0.1

all_in_one_seo_pack.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: All In One SEO Pack
5
  Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
6
  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.
7
- Version: 3.0
8
  Author: Michael Torbert
9
  Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
10
  Text Domain: all-in-one-seo-pack
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
32
  * The original WordPress SEO plugin.
33
  *
34
  * @package All-in-One-SEO-Pack
35
- * @version 3.0
36
  */
37
 
38
  if ( ! defined( 'AIOSEOPPRO' ) ) {
@@ -42,7 +42,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) ) {
42
  define( 'AIOSEOP_PLUGIN_NAME', 'All in One SEO Pack' );
43
  }
44
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
45
- define( 'AIOSEOP_VERSION', '3.0' );
46
  }
47
 
48
  /*
4
  Plugin Name: All In One SEO Pack
5
  Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
6
  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.
7
+ Version: 3.0.1
8
  Author: Michael Torbert
9
  Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
10
  Text Domain: all-in-one-seo-pack
32
  * The original WordPress SEO plugin.
33
  *
34
  * @package All-in-One-SEO-Pack
35
+ * @version 3.0.1
36
  */
37
 
38
  if ( ! defined( 'AIOSEOPPRO' ) ) {
42
  define( 'AIOSEOP_PLUGIN_NAME', 'All in One SEO Pack' );
43
  }
44
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
45
+ define( 'AIOSEOP_VERSION', '3.0.1' );
46
  }
47
 
48
  /*
modules/aioseop_sitemap.php CHANGED
@@ -3380,7 +3380,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Sitemap' ) ) {
3380
  $timestamp = mysql2date( 'U', $post->post_modified_gmt );
3381
  $pr_info['rss'] = array(
3382
  'title' => $title,
3383
- 'description' => get_the_excerpt( $post ),
3384
  'pubDate' => date( 'r', $timestamp ),
3385
  'timestamp ' => $timestamp,
3386
  'post_type' => $post->post_type,
@@ -4369,7 +4369,8 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Sitemap' ) ) {
4369
  ),
4370
  );
4371
  $ex_args['fields'] = 'ids';
4372
- $ex_args['posts_per_page'] = $this->max_posts;
 
4373
 
4374
  // Exclude (method) query.
4375
  $q_exclude = new WP_Query( $ex_args );
3380
  $timestamp = mysql2date( 'U', $post->post_modified_gmt );
3381
  $pr_info['rss'] = array(
3382
  'title' => $title,
3383
+ 'description' => get_post_field( 'post_excerpt', $post->ID ),
3384
  'pubDate' => date( 'r', $timestamp ),
3385
  'timestamp ' => $timestamp,
3386
  'post_type' => $post->post_type,
4369
  ),
4370
  );
4371
  $ex_args['fields'] = 'ids';
4372
+ // This needs to be -1 so that excluding posts isn't restricted to affect posts to not be excluded properly.
4373
+ $ex_args['posts_per_page'] = -1;
4374
 
4375
  // Exclude (method) query.
4376
  $q_exclude = new WP_Query( $ex_args );
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.7
5
  Tested up to: 5.2
6
- Stable tag: 3.0
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.7
5
  Tested up to: 5.2
6
+ Stable tag: 3.0.1
7
  License: GPLv2 or later
8
  Requires PHP: 5.2.4
9