All in One SEO Pack - Version 2.3.15.2

Version Description

Download this release

Release Info

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

Code changes from version 2.3.15.1 to 2.3.15.2

aioseop_class.php CHANGED
@@ -2534,7 +2534,10 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
2534
  $description = $this->trim_excerpt_without_filters_full_length( $this->internationalize( $post->post_excerpt ) );
2535
  }
2536
  if ( ! $description && isset( $aioseop_options['aiosp_generate_descriptions'] ) && $aioseop_options['aiosp_generate_descriptions'] ) {
2537
- $content = do_shortcode( $post->post_content );
 
 
 
2538
  $description = $this->trim_excerpt_without_filters( $this->internationalize( $content ) );
2539
  }
2540
  }
2534
  $description = $this->trim_excerpt_without_filters_full_length( $this->internationalize( $post->post_excerpt ) );
2535
  }
2536
  if ( ! $description && isset( $aioseop_options['aiosp_generate_descriptions'] ) && $aioseop_options['aiosp_generate_descriptions'] ) {
2537
+ if ( ! empty( $aioseop_options['aiosp_run_shortcodes'] ) ) {
2538
+ $content = do_shortcode( $content );
2539
+ }
2540
+ $content = wp_strip_all_tags( $content );
2541
  $description = $this->trim_excerpt_without_filters( $this->internationalize( $content ) );
2542
  }
2543
  }
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 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. More than 30 million downloads since 2007.
6
- Version: 2.3.15.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,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.15.1
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
- define( 'AIOSEOP_VERSION', '2.3.15.1' );
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://semperplugins.com/all-in-one-seo-pack-pro-version/
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. More than 30 million downloads since 2007.
6
+ Version: 2.3.15.2
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 2.3.15.2
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
+ define( 'AIOSEOP_VERSION', '2.3.15.2' );
42
  }
43
  global $aioseop_plugin_name;
44
  $aioseop_plugin_name = 'All in One SEO Pack';
modules/aioseop_opengraph.php CHANGED
@@ -755,7 +755,6 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
755
  );
756
 
757
  // Add filters
758
- $description = do_shortcode( $description );
759
  $description = apply_filters( 'aioseop_description', $description );
760
  // Add placholders
761
  $settings["{$prefix}title"]['placeholder'] = apply_filters( 'aioseop_opengraph_placeholder', $title );
@@ -1165,7 +1164,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
1165
  return;
1166
  }
1167
 
1168
- if ( $type == 'article' ) {
1169
  if ( ! empty( $this->options['aiosp_opengraph_gen_tags'] ) ) {
1170
  if ( ! empty( $this->options['aiosp_opengraph_gen_keywords'] ) ) {
1171
  $keywords = $aiosp->get_main_keywords();
@@ -1190,9 +1189,14 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
1190
  }
1191
  }
1192
 
 
 
 
1193
  if ( ! empty( $description ) ) {
1194
  $description = $aiosp->internationalize( preg_replace( '/\s+/', ' ', $description ) );
1195
- $description = do_shortcode( $description );
 
 
1196
  $description = $aiosp->trim_excerpt_without_filters( $description, 1000 );
1197
  }
1198
 
755
  );
756
 
757
  // Add filters
 
758
  $description = apply_filters( 'aioseop_description', $description );
759
  // Add placholders
760
  $settings["{$prefix}title"]['placeholder'] = apply_filters( 'aioseop_opengraph_placeholder', $title );
1164
  return;
1165
  }
1166
 
1167
+ if ( $type === 'article' && !empty( $post ) && is_singular() ) {
1168
  if ( ! empty( $this->options['aiosp_opengraph_gen_tags'] ) ) {
1169
  if ( ! empty( $this->options['aiosp_opengraph_gen_keywords'] ) ) {
1170
  $keywords = $aiosp->get_main_keywords();
1189
  }
1190
  }
1191
 
1192
+ if ( ! empty( $this->options['aiosp_opengraph_title_shortcodes'] ) ) {
1193
+ $title = do_shortcode( $title );
1194
+ }
1195
  if ( ! empty( $description ) ) {
1196
  $description = $aiosp->internationalize( preg_replace( '/\s+/', ' ', $description ) );
1197
+ if ( ! empty( $this->options['aiosp_opengraph_description_shortcodes'] ) ) {
1198
+ $description = do_shortcode( $description );
1199
+ }
1200
  $description = $aiosp->trim_excerpt_without_filters( $description, 1000 );
1201
  }
1202
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtor
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.8
7
- Stable tag: 2.3.15.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
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.8
7
+ Stable tag: 2.3.15.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10