All in One SEO Pack - Version 2.3.10.1

Version Description

Download this release

Release Info

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

Code changes from version 2.3.10 to 2.3.10.1

admin/display/dashboard_widget.php CHANGED
@@ -35,7 +35,11 @@ if ( ! class_exists( 'aioseop_dashboard_widget' ) ) {
35
 
36
  if ( false === ( $rss_items = get_transient( 'aioseop_feed' ) ) ) {
37
 
38
- $rss = fetch_feed( "https://www.semperplugins.com/feed/" );
 
 
 
 
39
  $rss_items = $rss->get_items( 0, 7 );
40
 
41
  $cached = array();
35
 
36
  if ( false === ( $rss_items = get_transient( 'aioseop_feed' ) ) ) {
37
 
38
+ $rss = fetch_feed( "https://www.semperplugins.com/feed/" );
39
+ if ( is_wp_error( $rss ) ) {
40
+ echo '{Temporarily unable to load feed.}';
41
+ return;
42
+ }
43
  $rss_items = $rss->get_items( 0, 7 );
44
 
45
  $cached = array();
all_in_one_seo_pack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: http://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.10
7
  Author: Michael Torbert
8
  Author URI: http://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.10
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
- define( 'AIOSEOP_VERSION', '2.3.10' );
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: http://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.10.1
7
  Author: Michael Torbert
8
  Author URI: http://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.10.1
35
  */
36
 
37
  if ( ! defined( 'AIOSEOPPRO' ) ) {
38
  define( 'AIOSEOPPRO', false );
39
  }
40
  if ( ! defined( 'AIOSEOP_VERSION' ) ) {
41
+ define( 'AIOSEOP_VERSION', '2.3.10.1' );
42
  }
43
  global $aioseop_plugin_name;
44
  $aioseop_plugin_name = 'All in One SEO Pack';
inc/aioseop_updates_class.php CHANGED
@@ -59,6 +59,7 @@ class AIOSEOP_Updates {
59
  if( ! is_network_admin() || !isset( $_GET['activate-multi'] ) ) {
60
  set_transient( '_aioseop_activation_redirect', true, 30 ); // Sets 30 second transient for welcome screen redirect on activation.
61
  }
 
62
  add_action( 'admin_init', array( $this, 'aioseop_welcome' ) );
63
 
64
  }
59
  if( ! is_network_admin() || !isset( $_GET['activate-multi'] ) ) {
60
  set_transient( '_aioseop_activation_redirect', true, 30 ); // Sets 30 second transient for welcome screen redirect on activation.
61
  }
62
+ delete_transient( 'aioseop_feed' );
63
  add_action( 'admin_init', array( $this, 'aioseop_welcome' ) );
64
 
65
  }
modules/aioseop_opengraph.php CHANGED
@@ -132,7 +132,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
132
 
133
  $this->help_anchors = Array(
134
  'title_shortcodes' => '#run-shortcodes-in-title',
135
- 'description_shortcodes' => '#run-shortcodes-in-description',
136
  'generate_descriptions' => '#auto-generate-og-descriptions',
137
  'setmeta' => '#use-aioseo-title-and-description',
138
  'sitename' => '#site-name',
@@ -179,7 +179,7 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
179
  'section' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#article-section',
180
  'tag' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#article-tags',
181
  'setcard' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#twitter-card-type',
182
- 'customimg_twitter' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#custom-twitter-image',
183
  );
184
 
185
  $count_desc = __( " characters. Open Graph allows up to a maximum of %s chars for the %s.", 'all-in-one-seo-pack' );
@@ -797,11 +797,17 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
797
  $type = 'WebSite';
798
  }
799
 
800
- $attributes = apply_filters( $this->prefix . 'attributes', Array(
801
- 'itemscope',
802
- 'itemtype="http://schema.org/' . ucfirst( $type ) . '"',
803
- 'prefix="og: http://ogp.me/ns#"',
804
- ) );
 
 
 
 
 
 
805
  foreach ( $attributes as $attr ) {
806
  if ( strpos( $output, $attr ) === false ) {
807
  $output .= "\n\t$attr ";
132
 
133
  $this->help_anchors = Array(
134
  'title_shortcodes' => '#run-shortcodes-in-title',
135
+ 'description_shortcodes' => '#run-shortcodes-in-description',
136
  'generate_descriptions' => '#auto-generate-og-descriptions',
137
  'setmeta' => '#use-aioseo-title-and-description',
138
  'sitename' => '#site-name',
179
  'section' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#article-section',
180
  'tag' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#article-tags',
181
  'setcard' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#twitter-card-type',
182
+ 'customimg_twitter' => 'https://semperplugins.com/documentation/social-meta-settings-individual-pagepost-settings/#custom-twitter-image',
183
  );
184
 
185
  $count_desc = __( " characters. Open Graph allows up to a maximum of %s chars for the %s.", 'all-in-one-seo-pack' );
797
  $type = 'WebSite';
798
  }
799
 
800
+ $attr_array = Array();
801
+
802
+ // Don't show this schema.org if the AMP plugin is active.
803
+ if ( ! function_exists( 'amp_init' ) ) {
804
+ $attr_array[] = 'itemscope';
805
+ $attr_array[] = 'itemtype="http://schema.org/' . ucfirst( $type ) . '"';
806
+ }
807
+
808
+ $attr_array[] = 'prefix="og: http://ogp.me/ns#"';
809
+
810
+ $attributes = apply_filters( $this->prefix . 'attributes', $attr_array );
811
  foreach ( $attributes as $attr ) {
812
  if ( strpos( $output, $attr ) === false ) {
813
  $output .= "\n\t$attr ";
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.6
7
- Stable tag: 2.3.10
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.6
7
+ Stable tag: 2.3.10.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10