Version Description
Download this release
Release Info
| Developer | pbaylies |
| Plugin | |
| Version | 2.1.3 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.2 to 2.1.3
- aioseop_class.php +1 -1
- aioseop_opengraph.php +2 -2
- aioseop_sitemap.php +2 -2
- all_in_one_seo_pack.php +3 -3
- images/SocialMeta-BW-Standard.png +0 -0
- images/cog_edit.png +0 -0
- images/twitter-follow-retina.png +0 -0
- readme.txt +1 -1
aioseop_class.php
CHANGED
|
@@ -1725,7 +1725,7 @@ function aiosp_google_analytics() {
|
|
| 1725 |
<script type="text/javascript">
|
| 1726 |
function recordOutboundLink(link, category, action) {
|
| 1727 |
<?php if ( !empty( $aioseop_options['aiosp_ga_use_universal_analytics'] ) ) { ?>
|
| 1728 |
-
ga(category, action);
|
| 1729 |
<?php }
|
| 1730 |
if ( empty( $aioseop_options['aiosp_ga_use_universal_analytics'] ) ) { ?>
|
| 1731 |
_gat._getTrackerByName()._trackEvent(category, action);
|
| 1725 |
<script type="text/javascript">
|
| 1726 |
function recordOutboundLink(link, category, action) {
|
| 1727 |
<?php if ( !empty( $aioseop_options['aiosp_ga_use_universal_analytics'] ) ) { ?>
|
| 1728 |
+
ga('send', 'event', category, action);
|
| 1729 |
<?php }
|
| 1730 |
if ( empty( $aioseop_options['aiosp_ga_use_universal_analytics'] ) ) { ?>
|
| 1731 |
_gat._getTrackerByName()._trackEvent(category, action);
|
aioseop_opengraph.php
CHANGED
|
@@ -324,7 +324,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
| 324 |
if( empty($sitename) ) $sitename = get_bloginfo('name');
|
| 325 |
|
| 326 |
if ( empty( $description ) && $first_page && ( !empty( $this->options['aiosp_opengraph_generate_descriptions'] ) ) )
|
| 327 |
-
$description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( $post->post_content ), 1000 );
|
| 328 |
|
| 329 |
if ( empty($description) && $first_page ) $description = get_bloginfo('description');
|
| 330 |
|
|
@@ -356,7 +356,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
| 356 |
} else return;
|
| 357 |
|
| 358 |
if ( !empty( $description ) )
|
| 359 |
-
$description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( $
|
| 360 |
|
| 361 |
/* Data Validation */
|
| 362 |
$title = strip_tags( esc_attr( $title ) );
|
| 324 |
if( empty($sitename) ) $sitename = get_bloginfo('name');
|
| 325 |
|
| 326 |
if ( empty( $description ) && $first_page && ( !empty( $this->options['aiosp_opengraph_generate_descriptions'] ) ) )
|
| 327 |
+
$description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $post->post_content ) ), 1000 );
|
| 328 |
|
| 329 |
if ( empty($description) && $first_page ) $description = get_bloginfo('description');
|
| 330 |
|
| 356 |
} else return;
|
| 357 |
|
| 358 |
if ( !empty( $description ) )
|
| 359 |
+
$description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $post->post_content ) ), 1000 );
|
| 360 |
|
| 361 |
/* Data Validation */
|
| 362 |
$title = strip_tags( esc_attr( $title ) );
|
aioseop_sitemap.php
CHANGED
|
@@ -1413,7 +1413,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Sitemap' ) ) {
|
|
| 1413 |
|
| 1414 |
/** Return post counts using wp_count_posts(). **/
|
| 1415 |
function get_all_post_counts( $args ) {
|
| 1416 |
-
$post_counts =
|
| 1417 |
$status = 'inherit';
|
| 1418 |
if ( !empty( $args['post_status'] ) ) $status = $args['post_status'];
|
| 1419 |
if ( !empty( $args ) && !empty( $args['post_type'] ) )
|
|
@@ -1421,7 +1421,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Sitemap' ) ) {
|
|
| 1421 |
if ( is_array( $args['post_type'] ) )
|
| 1422 |
$args['post_type'] = array_shift( $args['post_type'] );
|
| 1423 |
$count = (Array)wp_count_posts( $args['post_type'] );
|
| 1424 |
-
$post_counts = $count[$status];
|
| 1425 |
} else
|
| 1426 |
foreach( $args['post_type'] as $post_type ) {
|
| 1427 |
$count = (Array)wp_count_posts( $post_type );
|
| 1413 |
|
| 1414 |
/** Return post counts using wp_count_posts(). **/
|
| 1415 |
function get_all_post_counts( $args ) {
|
| 1416 |
+
$post_counts = Array();
|
| 1417 |
$status = 'inherit';
|
| 1418 |
if ( !empty( $args['post_status'] ) ) $status = $args['post_status'];
|
| 1419 |
if ( !empty( $args ) && !empty( $args['post_type'] ) )
|
| 1421 |
if ( is_array( $args['post_type'] ) )
|
| 1422 |
$args['post_type'] = array_shift( $args['post_type'] );
|
| 1423 |
$count = (Array)wp_count_posts( $args['post_type'] );
|
| 1424 |
+
$post_counts[$args['post_type']] = $count[$status];
|
| 1425 |
} else
|
| 1426 |
foreach( $args['post_type'] as $post_type ) {
|
| 1427 |
$count = (Array)wp_count_posts( $post_type );
|
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.1.
|
| 7 |
Author: Michael Torbert
|
| 8 |
Author URI: http://michaeltorbert.com
|
| 9 |
*/
|
|
@@ -30,11 +30,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
| 30 |
|
| 31 |
/**
|
| 32 |
* @package All-in-One-SEO-Pack
|
| 33 |
-
* @version 2.1.
|
| 34 |
*/
|
| 35 |
|
| 36 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
| 37 |
-
define( 'AIOSEOP_VERSION', '2.1.
|
| 38 |
|
| 39 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
| 40 |
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.1.3
|
| 7 |
Author: Michael Torbert
|
| 8 |
Author URI: http://michaeltorbert.com
|
| 9 |
*/
|
| 30 |
|
| 31 |
/**
|
| 32 |
* @package All-in-One-SEO-Pack
|
| 33 |
+
* @version 2.1.3
|
| 34 |
*/
|
| 35 |
|
| 36 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
| 37 |
+
define( 'AIOSEOP_VERSION', '2.1.3' );
|
| 38 |
|
| 39 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
| 40 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
images/SocialMeta-BW-Standard.png
CHANGED
|
Binary file
|
images/cog_edit.png
CHANGED
|
Binary file
|
images/twitter-follow-retina.png
CHANGED
|
Binary file
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: hallsofmontezuma
|
|
| 3 |
Donate link: 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
|
| 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: 3.8
|
| 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.
|
| 3 |
Donate link: 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
|
| 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: 3.8.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.
|
