Version Description
Download this release
Release Info
Developer | pbaylies |
Plugin | All in One SEO Pack |
Version | 2.2.6.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.6.1 to 2.2.6.2
- aioseop_class.php +4 -6
- aioseop_module_class.php +1 -1
- aioseop_sitemap.php +1 -0
- all_in_one_seo_pack.php +4 -4
aioseop_class.php
CHANGED
@@ -1573,8 +1573,9 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
1573 |
$author = $googleplus;
|
1574 |
else if ( !empty( $aioseop_options['aiosp_google_publisher'] ) )
|
1575 |
$author = $aioseop_options['aiosp_google_publisher'];
|
1576 |
-
|
1577 |
if ( !empty( $aioseop_options['aiosp_google_author_advanced'] ) && isset( $aioseop_options['aiosp_google_author_location'] ) ) {
|
|
|
|
|
1578 |
if ( is_front_page() && !in_array( 'front', $aioseop_options['aiosp_google_author_location'] ) ) {
|
1579 |
$author = '';
|
1580 |
} else {
|
@@ -3269,17 +3270,15 @@ EOF;
|
|
3269 |
unset( $this->pointers[$k] );
|
3270 |
|
3271 |
$this->filter_pointers();
|
3272 |
-
|
3273 |
if ( !empty( $this->options['aiosp_enablecpost'] ) && $this->options['aiosp_enablecpost'] ) {
|
3274 |
-
if ( !empty( $this->options['
|
3275 |
$this->locations['aiosp']['display'] = $this->options['aiosp_cpostactive'];
|
3276 |
} else {
|
3277 |
-
$this->locations['aiosp']['display'] =
|
3278 |
}
|
3279 |
} else {
|
3280 |
$this->locations['aiosp']['display'] = Array( 'post', 'page' );
|
3281 |
}
|
3282 |
-
|
3283 |
if ( $custom_menu_order )
|
3284 |
add_menu_page( $menu_name, $menu_name, 'manage_options', $file, Array( $this, 'display_settings_page' ) );
|
3285 |
else
|
@@ -3293,7 +3292,6 @@ EOF;
|
|
3293 |
do_action( 'aioseop_modules_add_menus', $file );
|
3294 |
|
3295 |
$metaboxes = apply_filters( 'aioseop_add_post_metabox', Array() );
|
3296 |
-
|
3297 |
if ( !empty( $metaboxes ) ) {
|
3298 |
if ( $this->tabbed_metaboxes ) {
|
3299 |
$tabs = Array();
|
1573 |
$author = $googleplus;
|
1574 |
else if ( !empty( $aioseop_options['aiosp_google_publisher'] ) )
|
1575 |
$author = $aioseop_options['aiosp_google_publisher'];
|
|
|
1576 |
if ( !empty( $aioseop_options['aiosp_google_author_advanced'] ) && isset( $aioseop_options['aiosp_google_author_location'] ) ) {
|
1577 |
+
if ( empty( $aioseop_options['aiosp_google_author_location'] ) )
|
1578 |
+
$aioseop_options['aiosp_google_author_location'] = Array();
|
1579 |
if ( is_front_page() && !in_array( 'front', $aioseop_options['aiosp_google_author_location'] ) ) {
|
1580 |
$author = '';
|
1581 |
} else {
|
3270 |
unset( $this->pointers[$k] );
|
3271 |
|
3272 |
$this->filter_pointers();
|
|
|
3273 |
if ( !empty( $this->options['aiosp_enablecpost'] ) && $this->options['aiosp_enablecpost'] ) {
|
3274 |
+
if ( !empty( $this->options['aiosp_cpostactive'] ) ) {
|
3275 |
$this->locations['aiosp']['display'] = $this->options['aiosp_cpostactive'];
|
3276 |
} else {
|
3277 |
+
$this->locations['aiosp']['display'] = Array();
|
3278 |
}
|
3279 |
} else {
|
3280 |
$this->locations['aiosp']['display'] = Array( 'post', 'page' );
|
3281 |
}
|
|
|
3282 |
if ( $custom_menu_order )
|
3283 |
add_menu_page( $menu_name, $menu_name, 'manage_options', $file, Array( $this, 'display_settings_page' ) );
|
3284 |
else
|
3292 |
do_action( 'aioseop_modules_add_menus', $file );
|
3293 |
|
3294 |
$metaboxes = apply_filters( 'aioseop_add_post_metabox', Array() );
|
|
|
3295 |
if ( !empty( $metaboxes ) ) {
|
3296 |
if ( $this->tabbed_metaboxes ) {
|
3297 |
$tabs = Array();
|
aioseop_module_class.php
CHANGED
@@ -350,7 +350,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Module' ) ) {
|
|
350 |
<?php
|
351 |
foreach ( $tabs as $k => $v ) {
|
352 |
?>
|
353 |
-
<a class="aioseop_head_nav_tab aioseop_head_nav_<?php if ( $this->current_tab != $k ) echo "in"; ?>active" href="<?php echo add_query_arg( 'tab', $k ); ?>"><?php echo $v['name']; ?></a>
|
354 |
<?php
|
355 |
}
|
356 |
?>
|
350 |
<?php
|
351 |
foreach ( $tabs as $k => $v ) {
|
352 |
?>
|
353 |
+
<a class="aioseop_head_nav_tab aioseop_head_nav_<?php if ( $this->current_tab != $k ) echo "in"; ?>active" href="<?php echo esc_url( add_query_arg( 'tab', $k ) ); ?>"><?php echo $v['name']; ?></a>
|
354 |
<?php
|
355 |
}
|
356 |
?>
|
aioseop_sitemap.php
CHANGED
@@ -1507,6 +1507,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Sitemap' ) ) {
|
|
1507 |
$pr_info[ 'changefreq' ] = $this->options[ $this->prefix . 'freq_post_' . $post->post_type ];
|
1508 |
}
|
1509 |
$pr_info['loc'] = $url;
|
|
|
1510 |
$pr_info = apply_filters( $this->prefix . 'prio_item_filter', $pr_info, $post, $args );
|
1511 |
if ( !empty( $pr_info ) )
|
1512 |
$prio[] = $pr_info;
|
1507 |
$pr_info[ 'changefreq' ] = $this->options[ $this->prefix . 'freq_post_' . $post->post_type ];
|
1508 |
}
|
1509 |
$pr_info['loc'] = $url;
|
1510 |
+
if ( is_float( $pr_info['priority'] ) ) $pr_info['priority'] = sprintf( "%0.1F", $pr_info['priority'] );
|
1511 |
$pr_info = apply_filters( $this->prefix . 'prio_item_filter', $pr_info, $post, $args );
|
1512 |
if ( !empty( $pr_info ) )
|
1513 |
$prio[] = $pr_info;
|
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.6.
|
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.6.
|
34 |
*/
|
35 |
|
36 |
if ( ! defined( 'ABSPATH' ) ) return;
|
@@ -41,7 +41,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) )
|
|
41 |
define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
|
42 |
|
43 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
44 |
-
define( 'AIOSEOP_VERSION', '2.2.6.
|
45 |
|
46 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
47 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
@@ -194,4 +194,4 @@ if ( !function_exists( 'aioseop_scan_post_header' ) ) {
|
|
194 |
query_posts('post_type=post&posts_per_page=1');
|
195 |
if (have_posts()) the_post();
|
196 |
}
|
197 |
-
}
|
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.6.2
|
7 |
Author: Michael Torbert
|
8 |
Author URI: http://michaeltorbert.com
|
9 |
*/
|
30 |
|
31 |
/**
|
32 |
* @package All-in-One-SEO-Pack
|
33 |
+
* @version 2.2.6.2
|
34 |
*/
|
35 |
|
36 |
if ( ! defined( 'ABSPATH' ) ) return;
|
41 |
define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
|
42 |
|
43 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
44 |
+
define( 'AIOSEOP_VERSION', '2.2.6.2' );
|
45 |
|
46 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
47 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
194 |
query_posts('post_type=post&posts_per_page=1');
|
195 |
if (have_posts()) the_post();
|
196 |
}
|
197 |
+
}
|