Version Description
Download this release
Release Info
Developer | pbaylies |
Plugin | All in One SEO Pack |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- aioseop_class.php +1 -9
- aioseop_opengraph.php +13 -7
- all_in_one_seo_pack.php +4 -4
- images/Hostgator--AN-9-8-2013-445x220.gif +0 -0
- images/ecwid_banner.png +0 -0
aioseop_class.php
CHANGED
@@ -966,12 +966,6 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
966 |
</div>
|
967 |
<?php
|
968 |
break;
|
969 |
-
case "aioseop-hosting":
|
970 |
-
?><div class="aioseop_metabox_text">
|
971 |
-
<p><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aioseo&page=http://www.hostgator.com/apps/wordpress-hosting.shtml" target="_blank"><img src="<?php echo AIOSEOP_PLUGIN_URL; ?>images/Hostgator--AN-9-8-2013-445x220.gif" alt="HostGator.com WordPress Hosting | Use Coupon WPPlugin | Only $3.47/Month"></p>
|
972 |
-
</div>
|
973 |
-
<?php
|
974 |
-
break;
|
975 |
}
|
976 |
echo "</div>";
|
977 |
}
|
@@ -2607,7 +2601,6 @@ function aiosp_google_analytics() {
|
|
2607 |
|
2608 |
add_meta_box('aioseop-list', __( "Join Our Mailing List", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'normal', 'core');
|
2609 |
add_meta_box('aioseop-about', "About <span style='float:right;'>Version <b>" . AIOSEOP_VERSION . "</b></span>", array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'side', 'core');
|
2610 |
-
// add_meta_box('aioseop-hosting', __( "Recommended WordPress Hosting", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'side', 'core');
|
2611 |
|
2612 |
add_action( 'aioseop_modules_add_menus', Array( $this, 'add_menu' ), 5 );
|
2613 |
do_action( 'aioseop_modules_add_menus', $file );
|
@@ -2721,11 +2714,10 @@ function aiosp_google_analytics() {
|
|
2721 |
// postboxes setup
|
2722 |
if ( typeof postboxes !== 'undefined' )
|
2723 |
postboxes.add_postbox_toggles('<?php echo $this->pagehook; ?>');
|
2724 |
-
$('.meta-box-sortables').removeClass('meta-box-sortables');
|
2725 |
});
|
2726 |
//]]>
|
2727 |
</script>
|
2728 |
-
<a href="http://open.ecwid.com/l8dt" target="_blank" style="margin-bottom: 15px;display: block;"><img src="<?php echo AIOSEOP_PLUGIN_IMAGES_URL; ?>ecwid_banner.png"></a>
|
2729 |
<!-- Headway Themes-->
|
2730 |
<div class="aioseop_advert">
|
2731 |
<div>
|
966 |
</div>
|
967 |
<?php
|
968 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
969 |
}
|
970 |
echo "</div>";
|
971 |
}
|
2601 |
|
2602 |
add_meta_box('aioseop-list', __( "Join Our Mailing List", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'normal', 'core');
|
2603 |
add_meta_box('aioseop-about', "About <span style='float:right;'>Version <b>" . AIOSEOP_VERSION . "</b></span>", array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'side', 'core');
|
|
|
2604 |
|
2605 |
add_action( 'aioseop_modules_add_menus', Array( $this, 'add_menu' ), 5 );
|
2606 |
do_action( 'aioseop_modules_add_menus', $file );
|
2714 |
// postboxes setup
|
2715 |
if ( typeof postboxes !== 'undefined' )
|
2716 |
postboxes.add_postbox_toggles('<?php echo $this->pagehook; ?>');
|
2717 |
+
// $('.meta-box-sortables').removeClass('meta-box-sortables');
|
2718 |
});
|
2719 |
//]]>
|
2720 |
</script>
|
|
|
2721 |
<!-- Headway Themes-->
|
2722 |
<div class="aioseop_advert">
|
2723 |
<div>
|
aioseop_opengraph.php
CHANGED
@@ -78,7 +78,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
78 |
"sitename" => __( "The Site Name is the name that is used to identify your website.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
79 |
"hometitle" => __( "The Home Title is the Open Graph title for your home page.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
80 |
"description" => __( "The Home Description is the Open Graph description for your home page.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
81 |
-
"generate_descriptions" => __( "Check this and your Open Graph descriptions will be auto-generated from your
|
82 |
"disable_jetpack" => __( "Check this box to disable the Open Graph meta output by the Jetpack plugin.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
83 |
"defimg" => __( "This option lets you choose which image will be displayed by default for the Open Graph image. You may override this on individual posts.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
84 |
"dimg" => __( "This option sets a default image that can be used for the Open Graph image. You can upload an image, select an image from your Media Library or paste the URL of an image here.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
@@ -278,10 +278,12 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
278 |
function add_attributes( $output ) { // avoid having duplicate meta tags
|
279 |
if ( !empty( $this->options[ 'aiosp_opengraph_disable_jetpack' ] ) )
|
280 |
remove_action( 'wp_head', 'jetpack_og_tags' );
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
|
|
|
|
285 |
}
|
286 |
|
287 |
function add_meta( ) {
|
@@ -472,8 +474,12 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
472 |
);
|
473 |
|
474 |
foreach ( $meta as $t => $data )
|
475 |
-
foreach ( $data as $k => $v )
|
476 |
-
if (
|
|
|
|
|
|
|
|
|
477 |
}
|
478 |
|
479 |
function do_opengraph( ) {
|
78 |
"sitename" => __( "The Site Name is the name that is used to identify your website.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
79 |
"hometitle" => __( "The Home Title is the Open Graph title for your home page.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
80 |
"description" => __( "The Home Description is the Open Graph description for your home page.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
81 |
+
"generate_descriptions" => __( "Check this and your Open Graph descriptions will be auto-generated from your content.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
82 |
"disable_jetpack" => __( "Check this box to disable the Open Graph meta output by the Jetpack plugin.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
83 |
"defimg" => __( "This option lets you choose which image will be displayed by default for the Open Graph image. You may override this on individual posts.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
84 |
"dimg" => __( "This option sets a default image that can be used for the Open Graph image. You can upload an image, select an image from your Media Library or paste the URL of an image here.<br /><a href='http://semperplugins.com/documentation/social-meta-module/' target='_blank'>Click here for documentation on this setting</a>", 'all_in_one_seo_pack' ),
|
278 |
function add_attributes( $output ) { // avoid having duplicate meta tags
|
279 |
if ( !empty( $this->options[ 'aiosp_opengraph_disable_jetpack' ] ) )
|
280 |
remove_action( 'wp_head', 'jetpack_og_tags' );
|
281 |
+
foreach( Array( 'xmlns="http://www.w3.org/1999/xhtml"', 'xmlns:og="http://ogp.me/ns#"', 'xmlns:fb="http://www.facebook.com/2008/fbml"' ) as $xmlns ) {
|
282 |
+
if ( strpos( $output, $xmlns ) === false ) {
|
283 |
+
$output .= "\n\t$xmlns ";
|
284 |
+
}
|
285 |
+
}
|
286 |
+
return $output;
|
287 |
}
|
288 |
|
289 |
function add_meta( ) {
|
474 |
);
|
475 |
|
476 |
foreach ( $meta as $t => $data )
|
477 |
+
foreach ( $data as $k => $v ) {
|
478 |
+
if ( empty( $$k ) ) $$k = '';
|
479 |
+
$filtered_value = $$k;
|
480 |
+
$filtered_value = apply_filters( $this->prefix . 'meta', $filtered_value, $t, $k );
|
481 |
+
if ( !empty( $filtered_value ) ) echo '<meta ' . $tags[$t]['name'] . '="' . $v . '" ' . $tags[$t]['value'] . '="' . $filtered_value . '" />' . "\n";
|
482 |
+
}
|
483 |
}
|
484 |
|
485 |
function do_opengraph( ) {
|
all_in_one_seo_pack.php
CHANGED
@@ -3,13 +3,13 @@
|
|
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 |
*/
|
10 |
|
11 |
/*
|
12 |
-
Copyright (C) 2008-
|
13 |
Original code by uberdose of uberdose.com
|
14 |
|
15 |
This program is free software; you can redistribute it and/or modify
|
@@ -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.2
|
7 |
Author: Michael Torbert
|
8 |
Author URI: http://michaeltorbert.com
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
+
Copyright (C) 2008-2014 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)
|
13 |
Original code by uberdose of uberdose.com
|
14 |
|
15 |
This program is free software; you can redistribute it and/or modify
|
30 |
|
31 |
/**
|
32 |
* @package All-in-One-SEO-Pack
|
33 |
+
* @version 2.1.2
|
34 |
*/
|
35 |
|
36 |
if ( ! defined( 'AIOSEOP_VERSION' ) )
|
37 |
+
define( 'AIOSEOP_VERSION', '2.1.2' );
|
38 |
|
39 |
if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
|
40 |
define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
images/Hostgator--AN-9-8-2013-445x220.gif
DELETED
Binary file
|
images/ecwid_banner.png
DELETED
Binary file
|