Version Description
Download this release
Release Info
Developer | pbaylies |
Plugin | All in One SEO Pack |
Version | 2.2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.4 to 2.2.4.1
- aioseop_class.php +4 -6
- all_in_one_seo_pack.php +4 -4
aioseop_class.php
CHANGED
@@ -1578,9 +1578,6 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
1578 |
if ( ( $aiosp_nofollow == 'on' ) || ( ( !empty( $aioseop_options['aiosp_paginated_nofollow'] ) ) && ( ( $page > 1 ) ) ) ||
|
1579 |
( ( $aiosp_nofollow == '' ) && ( !empty( $aioseop_options['aiosp_cpostnofollow'] ) ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnofollow'] ) ) ) )
|
1580 |
$nofollow = "no" . $nofollow;
|
1581 |
-
if ( ( $aiosp_noindex == 'on' ) || ( ( !empty( $aioseop_options['aiosp_paginated_noindex'] ) ) && ( ( $page > 1 ) ) ) ||
|
1582 |
-
( ( $aiosp_noindex == '' ) && ( !empty( $aioseop_options['aiosp_cpostnoindex'] ) ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoindex'] ) ) ) )
|
1583 |
-
$noindex = "no" . $noindex;
|
1584 |
if ( ( !empty( $aioseop_options['aiosp_cpostnoodp'] ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoodp'] ) ) ) )
|
1585 |
$aiosp_noodp = true;
|
1586 |
if ( ( !empty( $aioseop_options['aiosp_cpostnoydir'] ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoydir'] ) ) ) )
|
@@ -2588,7 +2585,7 @@ EOF;
|
|
2588 |
if ( ( ( $title_type == 'archive' ) && is_post_type_archive( $wp_post_types ) && $prefix = "aiosp_{$title_type}_" ) ||
|
2589 |
( ( $title_type == 'post' ) && is_singular( $wp_post_types ) && $prefix = "aiosp_" ) ) {
|
2590 |
$post_type = get_post_type();
|
2591 |
-
if ( !empty( $aioseop_options["{$post_type}_title_format"] ) )
|
2592 |
$title_format = $aioseop_options["{$prefix}{$post_type}_title_format"];
|
2593 |
}
|
2594 |
}
|
@@ -2597,7 +2594,7 @@ EOF;
|
|
2597 |
}
|
2598 |
|
2599 |
function get_archive_title_format() {
|
2600 |
-
return get_post_title_format( "archive" );
|
2601 |
}
|
2602 |
|
2603 |
function apply_archive_title_format( $title, $category = '' ) {
|
@@ -3048,7 +3045,8 @@ EOF;
|
|
3048 |
if ( isset( $$var ) && !empty( $$var ) )
|
3049 |
add_post_meta( $id, $field, $$var );
|
3050 |
}
|
3051 |
-
|
|
|
3052 |
if (isset( $aiosp_disable ) && !empty( $aiosp_disable ) && $this->is_admin() ) {
|
3053 |
add_post_meta( $id, '_aioseop_disable', $aiosp_disable );
|
3054 |
if (isset( $aiosp_disable_analytics ) && !empty( $aiosp_disable_analytics ) )
|
1578 |
if ( ( $aiosp_nofollow == 'on' ) || ( ( !empty( $aioseop_options['aiosp_paginated_nofollow'] ) ) && ( ( $page > 1 ) ) ) ||
|
1579 |
( ( $aiosp_nofollow == '' ) && ( !empty( $aioseop_options['aiosp_cpostnofollow'] ) ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnofollow'] ) ) ) )
|
1580 |
$nofollow = "no" . $nofollow;
|
|
|
|
|
|
|
1581 |
if ( ( !empty( $aioseop_options['aiosp_cpostnoodp'] ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoodp'] ) ) ) )
|
1582 |
$aiosp_noodp = true;
|
1583 |
if ( ( !empty( $aioseop_options['aiosp_cpostnoydir'] ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoydir'] ) ) ) )
|
2585 |
if ( ( ( $title_type == 'archive' ) && is_post_type_archive( $wp_post_types ) && $prefix = "aiosp_{$title_type}_" ) ||
|
2586 |
( ( $title_type == 'post' ) && is_singular( $wp_post_types ) && $prefix = "aiosp_" ) ) {
|
2587 |
$post_type = get_post_type();
|
2588 |
+
if ( !empty( $aioseop_options["{$prefix}{$post_type}_title_format"] ) )
|
2589 |
$title_format = $aioseop_options["{$prefix}{$post_type}_title_format"];
|
2590 |
}
|
2591 |
}
|
2594 |
}
|
2595 |
|
2596 |
function get_archive_title_format() {
|
2597 |
+
return $this->get_post_title_format( "archive" );
|
2598 |
}
|
2599 |
|
2600 |
function apply_archive_title_format( $title, $category = '' ) {
|
3045 |
if ( isset( $$var ) && !empty( $$var ) )
|
3046 |
add_post_meta( $id, $field, $$var );
|
3047 |
}
|
3048 |
+
if (isset( $aiosp_sitemap_exclude ) && !empty( $aiosp_sitemap_exclude ) && $this->is_admin() )
|
3049 |
+
add_post_meta( $id, '_aioseop_sitemap_exclude', $aiosp_sitemap_exclude );
|
3050 |
if (isset( $aiosp_disable ) && !empty( $aiosp_disable ) && $this->is_admin() ) {
|
3051 |
add_post_meta( $id, '_aioseop_disable', $aiosp_disable );
|
3052 |
if (isset( $aiosp_disable_analytics ) && !empty( $aiosp_disable_analytics ) )
|
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.4
|
7 |
Author: Michael Torbert
|
8 |
Author URI: http://michaeltorbert.com
|
9 |
*/
|
@@ -30,16 +30,16 @@ 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.4
|
34 |
*/
|
35 |
|
36 |
global $aioseop_plugin_name;
|
37 |
-
$aioseop_plugin_name =
|
38 |
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.4' );
|
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.4.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.4.1
|
34 |
*/
|
35 |
|
36 |
global $aioseop_plugin_name;
|
37 |
+
$aioseop_plugin_name = 'All in One SEO Pack';
|
38 |
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.4.1' );
|
43 |
|
44 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
45 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|