Version Description
Download this release
Release Info
| Developer | pbaylies |
| Plugin | |
| Version | 2.2.4.2 |
| Comparing to | |
| See all releases | |
Code changes from version 2.2.4.1 to 2.2.4.2
- aioseop_class.php +5 -1
- aioseop_functions.php +3 -4
- all_in_one_seo_pack.php +3 -3
aioseop_class.php
CHANGED
|
@@ -1390,7 +1390,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
| 1390 |
if ( aioseop_option_isset( 'aiosp_google_analytics_id' ) )
|
| 1391 |
add_action( 'aioseop_modules_wp_head', array( $this, 'aiosp_google_analytics' ) );
|
| 1392 |
add_filter( 'wp_list_pages', 'aioseop_list_pages' );
|
| 1393 |
-
add_action( 'wp_head', array( $this, 'wp_head') );
|
| 1394 |
add_action( 'template_redirect', array( $this, 'template_redirect' ), 0 );
|
| 1395 |
add_filter( 'wp_list_pages_excludes', 'aioseop_get_pages_start' );
|
| 1396 |
add_filter( 'get_pages', 'aioseop_get_pages' );
|
|
@@ -1606,6 +1606,10 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
| 1606 |
$description = $this->apply_cf_fields( $description );
|
| 1607 |
} else if ( is_single() || is_page() || is_attachment() || is_home() || $this->is_static_posts_page() ) {
|
| 1608 |
$description = $this->get_aioseop_description( $post );
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1609 |
}
|
| 1610 |
if ( empty( $aioseop_options['aiosp_dont_truncate_descriptions'] ) ) {
|
| 1611 |
$description = $this->trim_excerpt_without_filters( $description );
|
| 1390 |
if ( aioseop_option_isset( 'aiosp_google_analytics_id' ) )
|
| 1391 |
add_action( 'aioseop_modules_wp_head', array( $this, 'aiosp_google_analytics' ) );
|
| 1392 |
add_filter( 'wp_list_pages', 'aioseop_list_pages' );
|
| 1393 |
+
add_action( 'wp_head', array( $this, 'wp_head'), apply_filters( 'aioseop_wp_head_priority', 1 ) );
|
| 1394 |
add_action( 'template_redirect', array( $this, 'template_redirect' ), 0 );
|
| 1395 |
add_filter( 'wp_list_pages_excludes', 'aioseop_get_pages_start' );
|
| 1396 |
add_filter( 'get_pages', 'aioseop_get_pages' );
|
| 1606 |
$description = $this->apply_cf_fields( $description );
|
| 1607 |
} else if ( is_single() || is_page() || is_attachment() || is_home() || $this->is_static_posts_page() ) {
|
| 1608 |
$description = $this->get_aioseop_description( $post );
|
| 1609 |
+
} else if ( ( is_category() || is_tag() || is_tax() ) && $this->show_page_description() ) {
|
| 1610 |
+
if ( !empty( $opts ) ) $description = $opts['aiosp_description'];
|
| 1611 |
+
if ( empty( $description ) ) $description = term_description();
|
| 1612 |
+
$description = $this->internationalize( $description );
|
| 1613 |
}
|
| 1614 |
if ( empty( $aioseop_options['aiosp_dont_truncate_descriptions'] ) ) {
|
| 1615 |
$description = $this->trim_excerpt_without_filters( $description );
|
aioseop_functions.php
CHANGED
|
@@ -117,13 +117,12 @@ if ( !function_exists( 'aioseop_addmycolumns' ) ) {
|
|
| 117 |
}
|
| 118 |
if ( !empty( $pagenow ) && ( $pagenow == 'upload.php' ) )
|
| 119 |
$post_type = 'attachment';
|
| 120 |
-
elseif ( !isset( $
|
| 121 |
$post_type = 'post';
|
| 122 |
else
|
| 123 |
-
$post_type = $
|
| 124 |
-
add_action( 'admin_head', 'aioseop_admin_head' );
|
| 125 |
-
|
| 126 |
if( is_array( $aiosp_posttypecolumns ) && in_array( $post_type, $aiosp_posttypecolumns ) ) {
|
|
|
|
| 127 |
if ( $post_type == 'page' )
|
| 128 |
add_filter( 'manage_pages_columns', 'aioseop_mrt_pcolumns' );
|
| 129 |
elseif ( $post_type == 'attachment' )
|
| 117 |
}
|
| 118 |
if ( !empty( $pagenow ) && ( $pagenow == 'upload.php' ) )
|
| 119 |
$post_type = 'attachment';
|
| 120 |
+
elseif ( !isset( $_REQUEST['post_type'] ) )
|
| 121 |
$post_type = 'post';
|
| 122 |
else
|
| 123 |
+
$post_type = $_REQUEST['post_type'];
|
|
|
|
|
|
|
| 124 |
if( is_array( $aiosp_posttypecolumns ) && in_array( $post_type, $aiosp_posttypecolumns ) ) {
|
| 125 |
+
add_action( 'admin_head', 'aioseop_admin_head' );
|
| 126 |
if ( $post_type == 'page' )
|
| 127 |
add_filter( 'manage_pages_columns', 'aioseop_mrt_pcolumns' );
|
| 128 |
elseif ( $post_type == 'attachment' )
|
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,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.4.
|
| 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.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.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.4.2
|
| 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.4.2' );
|
| 43 |
|
| 44 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
| 45 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
