Changeset 832533
- Timestamp:
- 01/03/2014 10:19:53 PM (11 years ago)
- Location:
- all-in-one-seo-pack
- Files:
-
- 1 added
- 4 deleted
- 3 edited
- 44 copied
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-seo-pack/tags/2.1.2/aioseop_class.php
r825760 r832533 967 967 <?php 968 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 <?php974 break;975 969 } 976 970 echo "</div>"; … … 2608 2602 add_meta_box('aioseop-list', __( "Join Our Mailing List", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'normal', 'core'); 2609 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'); 2610 // add_meta_box('aioseop-hosting', __( "Recommended WordPress Hosting", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'side', 'core');2611 2604 2612 2605 add_action( 'aioseop_modules_add_menus', Array( $this, 'add_menu' ), 5 ); … … 2722 2715 if ( typeof postboxes !== 'undefined' ) 2723 2716 postboxes.add_postbox_toggles('<?php echo $this->pagehook; ?>'); 2724 $('.meta-box-sortables').removeClass('meta-box-sortables');2717 $('.meta-box-sortables').removeClass('meta-box-sortables'); 2725 2718 }); 2726 2719 //]]> 2727 2720 </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 2721 <!-- Headway Themes--> 2730 2722 <div class="aioseop_advert"> -
all-in-one-seo-pack/tags/2.1.2/aioseop_opengraph.php
r825759 r832533 79 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 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 excerpt orcontent.<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 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 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' ), … … 279 279 if ( !empty( $this->options[ 'aiosp_opengraph_disable_jetpack' ] ) ) 280 280 remove_action( 'wp_head', 'jetpack_og_tags' ); 281 282 return $output . 'xmlns="http://www.w3.org/1999/xhtml" 283 xmlns:og="http://ogp.me/ns#" 284 xmlns:fb="http://www.facebook.com/2008/fbml"'; 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; 285 287 } 286 288 … … 473 475 474 476 foreach ( $meta as $t => $data ) 475 foreach ( $data as $k => $v ) 476 if ( !empty( $$k ) ) echo '<meta ' . $tags[$t]['name'] . '="' . $v . '" ' . $tags[$t]['value'] . '="' . $$k . '" />' . "\n"; 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 } 477 483 } 478 484 -
all-in-one-seo-pack/tags/2.1.2/all_in_one_seo_pack.php
r825760 r832533 4 4 Plugin URI: http://semperfiwebdesign.com 5 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. 16 Version: 2.1. 7 7 Author: Michael Torbert 8 8 Author URI: http://michaeltorbert.com … … 10 10 11 11 /* 12 Copyright (C) 2008-201 3Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)12 Copyright (C) 2008-201 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com) 13 13 Original code by uberdose of uberdose.com 14 14 … … 31 31 /** 32 32 * @package All-in-One-SEO-Pack 33 * @version 2.1. 133 * @version 2.1. 34 34 */ 35 35 36 36 if ( ! defined( 'AIOSEOP_VERSION' ) ) 37 define( 'AIOSEOP_VERSION', '2.1. 1' );37 define( 'AIOSEOP_VERSION', '2.1.' ); 38 38 39 39 if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) { -
all-in-one-seo-pack/trunk/aioseop_class.php
r825760 r832533 967 967 <?php 968 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 <?php974 break;975 969 } 976 970 echo "</div>"; … … 2608 2602 add_meta_box('aioseop-list', __( "Join Our Mailing List", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'normal', 'core'); 2609 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'); 2610 // add_meta_box('aioseop-hosting', __( "Recommended WordPress Hosting", 'all_in_one_seo_pack' ), array( $this, 'display_extra_metaboxes'), 'aioseop_metaboxes', 'side', 'core');2611 2604 2612 2605 add_action( 'aioseop_modules_add_menus', Array( $this, 'add_menu' ), 5 ); … … 2722 2715 if ( typeof postboxes !== 'undefined' ) 2723 2716 postboxes.add_postbox_toggles('<?php echo $this->pagehook; ?>'); 2724 $('.meta-box-sortables').removeClass('meta-box-sortables');2717 $('.meta-box-sortables').removeClass('meta-box-sortables'); 2725 2718 }); 2726 2719 //]]> 2727 2720 </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 2721 <!-- Headway Themes--> 2730 2722 <div class="aioseop_advert"> -
all-in-one-seo-pack/trunk/aioseop_opengraph.php
r805127 r832533 79 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 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 excerpt orcontent.<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 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 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' ), … … 279 279 if ( !empty( $this->options[ 'aiosp_opengraph_disable_jetpack' ] ) ) 280 280 remove_action( 'wp_head', 'jetpack_og_tags' ); 281 282 return $output . 'xmlns="http://www.w3.org/1999/xhtml" 283 xmlns:og="http://ogp.me/ns#" 284 xmlns:fb="http://www.facebook.com/2008/fbml"'; 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; 285 287 } 286 288 … … 473 475 474 476 foreach ( $meta as $t => $data ) 475 foreach ( $data as $k => $v ) 476 if ( !empty( $$k ) ) echo '<meta ' . $tags[$t]['name'] . '="' . $v . '" ' . $tags[$t]['value'] . '="' . $$k . '" />' . "\n"; 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 } 477 483 } 478 484 -
all-in-one-seo-pack/trunk/all_in_one_seo_pack.php
r825760 r832533 4 4 Plugin URI: http://semperfiwebdesign.com 5 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. 16 Version: 2.1. 7 7 Author: Michael Torbert 8 8 Author URI: http://michaeltorbert.com … … 10 10 11 11 /* 12 Copyright (C) 2008-201 3Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)12 Copyright (C) 2008-201 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com) 13 13 Original code by uberdose of uberdose.com 14 14 … … 31 31 /** 32 32 * @package All-in-One-SEO-Pack 33 * @version 2.1. 133 * @version 2.1. 34 34 */ 35 35 36 36 if ( ! defined( 'AIOSEOP_VERSION' ) ) 37 define( 'AIOSEOP_VERSION', '2.1. 1' );37 define( 'AIOSEOP_VERSION', '2.1.' ); 38 38 39 39 if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.