Version Description
Download this release
Release Info
| Developer | pbaylies |
| Plugin | |
| Version | 2.2.5.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.2.5 to 2.2.5.1
- aioseop_class.php +8 -7
- aioseop_module_class.php +1 -3
- aioseop_opengraph.php +1 -1
- all_in_one_seo_pack-pt_BR.mo +0 -0
- all_in_one_seo_pack.php +3 -3
- readme.txt +1 -1
aioseop_class.php
CHANGED
|
@@ -47,6 +47,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
| 47 |
var $account_cache;
|
| 48 |
var $profile_id;
|
| 49 |
var $meta_opts = false;
|
|
|
|
| 50 |
|
| 51 |
function All_in_One_SEO_Pack() {
|
| 52 |
global $aioseop_options;
|
|
@@ -782,15 +783,15 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
| 782 |
$wp_query->is_attachment = true;
|
| 783 |
else
|
| 784 |
$wp_query->is_single = true;
|
| 785 |
-
if ( empty( $
|
| 786 |
if ( get_option( 'show_on_front' ) == 'page' ) {
|
| 787 |
if ( is_page() && $post->ID == get_option( 'page_on_front' ) )
|
| 788 |
-
$
|
| 789 |
elseif ( $post->ID == get_option( 'page_for_posts' ) )
|
| 790 |
$wp_query->is_home = true;
|
| 791 |
}
|
| 792 |
$wp_query->queried_object = $post;
|
| 793 |
-
if ( !empty( $post ) && !$wp_query->is_home && !$
|
| 794 |
$title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
|
| 795 |
if ( empty( $title ) ) $title = $post->post_title;
|
| 796 |
}
|
|
@@ -1408,11 +1409,10 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
| 1408 |
}
|
| 1409 |
|
| 1410 |
function is_static_front_page() {
|
| 1411 |
-
|
| 1412 |
-
if ( $is_front_page !== null ) return $is_front_page;
|
| 1413 |
$post = $this->get_queried_object();
|
| 1414 |
-
$is_front_page = ( get_option( 'show_on_front' ) == 'page' && is_page() && $post->ID == get_option( 'page_on_front' ) );
|
| 1415 |
-
return $is_front_page;
|
| 1416 |
}
|
| 1417 |
|
| 1418 |
function is_static_posts_page() {
|
|
@@ -3025,6 +3025,7 @@ EOF;
|
|
| 3025 |
|
| 3026 |
function clean_keyword_list( $keywords ) {
|
| 3027 |
$small_keywords = array();
|
|
|
|
| 3028 |
if ( !empty( $keywords ) )
|
| 3029 |
foreach ( $keywords as $word ) {
|
| 3030 |
$small_keywords[] = trim( $this->strtolower( $word ) );
|
| 47 |
var $account_cache;
|
| 48 |
var $profile_id;
|
| 49 |
var $meta_opts = false;
|
| 50 |
+
var $is_front_page = null;
|
| 51 |
|
| 52 |
function All_in_One_SEO_Pack() {
|
| 53 |
global $aioseop_options;
|
| 783 |
$wp_query->is_attachment = true;
|
| 784 |
else
|
| 785 |
$wp_query->is_single = true;
|
| 786 |
+
if ( empty( $this->is_front_page ) ) $this->is_front_page = false;
|
| 787 |
if ( get_option( 'show_on_front' ) == 'page' ) {
|
| 788 |
if ( is_page() && $post->ID == get_option( 'page_on_front' ) )
|
| 789 |
+
$this->is_front_page = true;
|
| 790 |
elseif ( $post->ID == get_option( 'page_for_posts' ) )
|
| 791 |
$wp_query->is_home = true;
|
| 792 |
}
|
| 793 |
$wp_query->queried_object = $post;
|
| 794 |
+
if ( !empty( $post ) && !$wp_query->is_home && !$this->is_front_page ) {
|
| 795 |
$title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
|
| 796 |
if ( empty( $title ) ) $title = $post->post_title;
|
| 797 |
}
|
| 1409 |
}
|
| 1410 |
|
| 1411 |
function is_static_front_page() {
|
| 1412 |
+
if ( isset( $this->is_front_page ) && $this->is_front_page !== null ) return $this->is_front_page;
|
|
|
|
| 1413 |
$post = $this->get_queried_object();
|
| 1414 |
+
$this->is_front_page = ( get_option( 'show_on_front' ) == 'page' && is_page() && $post->ID == get_option( 'page_on_front' ) );
|
| 1415 |
+
return $this->is_front_page;
|
| 1416 |
}
|
| 1417 |
|
| 1418 |
function is_static_posts_page() {
|
| 3025 |
|
| 3026 |
function clean_keyword_list( $keywords ) {
|
| 3027 |
$small_keywords = array();
|
| 3028 |
+
if ( !is_array( $keywords ) ) $keywords = $this->keyword_string_to_list( $keywords );
|
| 3029 |
if ( !empty( $keywords ) )
|
| 3030 |
foreach ( $keywords as $word ) {
|
| 3031 |
$small_keywords[] = trim( $this->strtolower( $word ) );
|
aioseop_module_class.php
CHANGED
|
@@ -753,9 +753,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Module' ) ) {
|
|
| 753 |
else
|
| 754 |
$wp_query->is_single = true;
|
| 755 |
if ( get_option( 'show_on_front' ) == 'page' ) {
|
| 756 |
-
if (
|
| 757 |
-
$wp_query->is_front_page = true;
|
| 758 |
-
elseif ( $post->ID == get_option( 'page_for_posts' ) )
|
| 759 |
$wp_query->is_home = true;
|
| 760 |
}
|
| 761 |
$args['options']['type'] = 'html';
|
| 753 |
else
|
| 754 |
$wp_query->is_single = true;
|
| 755 |
if ( get_option( 'show_on_front' ) == 'page' ) {
|
| 756 |
+
if ( $post->ID == get_option( 'page_for_posts' ) )
|
|
|
|
|
|
|
| 757 |
$wp_query->is_home = true;
|
| 758 |
}
|
| 759 |
$args['options']['type'] = 'html';
|
aioseop_opengraph.php
CHANGED
|
@@ -734,7 +734,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
| 734 |
function type_setup() {
|
| 735 |
global $aiosp, $wp_query;
|
| 736 |
$this->type = '';
|
| 737 |
-
if ( $
|
| 738 |
if ( !empty( $this->options ) && !empty( $this->options['aiosp_opengraph_categories'] ) )
|
| 739 |
$this->type = $this->options['aiosp_opengraph_categories'];
|
| 740 |
} elseif ( is_singular() && $this->option_isset('types') ) {
|
| 734 |
function type_setup() {
|
| 735 |
global $aiosp, $wp_query;
|
| 736 |
$this->type = '';
|
| 737 |
+
if ( $aiosp->is_static_front_page() ) {
|
| 738 |
if ( !empty( $this->options ) && !empty( $this->options['aiosp_opengraph_categories'] ) )
|
| 739 |
$this->type = $this->options['aiosp_opengraph_categories'];
|
| 740 |
} elseif ( is_singular() && $this->option_isset('types') ) {
|
all_in_one_seo_pack-pt_BR.mo
CHANGED
|
Binary file
|
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. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">Options configuration panel</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">Upgrade to Pro Version</a> | <a href="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¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperplugins.com/support/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
|
| 6 |
-
Version: 2.2.5
|
| 7 |
Author: Michael Torbert
|
| 8 |
Author URI: http://michaeltorbert.com
|
| 9 |
*/
|
|
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
| 30 |
|
| 31 |
/**
|
| 32 |
* @package All-in-One-SEO-Pack
|
| 33 |
-
* @version 2.2.5
|
| 34 |
*/
|
| 35 |
|
| 36 |
global $aioseop_plugin_name;
|
|
@@ -39,7 +39,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) )
|
|
| 39 |
define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
|
| 40 |
|
| 41 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
| 42 |
-
define( 'AIOSEOP_VERSION', '2.2.5' );
|
| 43 |
|
| 44 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
| 45 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
| 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. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">Options configuration panel</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">Upgrade to Pro Version</a> | <a href="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¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperplugins.com/support/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
|
| 6 |
+
Version: 2.2.5.1
|
| 7 |
Author: Michael Torbert
|
| 8 |
Author URI: http://michaeltorbert.com
|
| 9 |
*/
|
| 30 |
|
| 31 |
/**
|
| 32 |
* @package All-in-One-SEO-Pack
|
| 33 |
+
* @version 2.2.5.1
|
| 34 |
*/
|
| 35 |
|
| 36 |
global $aioseop_plugin_name;
|
| 39 |
define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
|
| 40 |
|
| 41 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
| 42 |
+
define( 'AIOSEOP_VERSION', '2.2.5.1' );
|
| 43 |
|
| 44 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
| 45 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtor
|
|
| 4 |
Tags: all in one, all in one seo, all in one seo pack, seo, search engine optimization, google
|
| 5 |
Requires at least: 3.3
|
| 6 |
Tested up to: 4.1
|
| 7 |
-
Stable tag:
|
| 8 |
|
| 9 |
All in One SEO Pack is a WordPress SEO plugin to automatically optimize your WordPress blog for Search Engines such as Google.
|
| 10 |
|
| 4 |
Tags: all in one, all in one seo, all in one seo pack, seo, search engine optimization, google
|
| 5 |
Requires at least: 3.3
|
| 6 |
Tested up to: 4.1
|
| 7 |
+
Stable tag: trunk
|
| 8 |
|
| 9 |
All in One SEO Pack is a WordPress SEO plugin to automatically optimize your WordPress blog for Search Engines such as Google.
|
| 10 |
|
