Changeset 949889
- Timestamp:
- 07/16/2014 08:51:23 PM (10 years ago)
- Location:
- all-in-one-seo-pack
- Files:
-
- 1 added
- 6 edited
- 59 copied
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-seo-pack/tags/2.2.1/aioseop_class.php
r949833 r949889 1935 1935 // Thank you, Yoast de Valk, for much of this code. 1936 1936 1937 function aiosp_mrt_get_url( $query ) {�� 1937 function aiosp_mrt_get_url( $query ) { 1938 1938 if ( $query->is_404 || $query->is_search ) 1939 1939 return false; … … 1997 1997 } 1998 1998 if ( empty( $link ) || !is_string( $link ) ) return false; 1999 return $this->get_paged( $link ); 1999 if ( apply_filters( 'aioseop_canonical_url_pagination', $show_page ) ) 2000 $link = $this->get_paged( $link ); 2001 return $link; 2000 2002 } 2001 2003 -
all-in-one-seo-pack/tags/2.2.1/aioseop_module.js
r948965 r949889 313 313 return false; 314 314 }); 315 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value="all"] ', 'input[name="aiosp_sitemap_taxonomies[]"][value="all"]' ).click(function () {315 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value="all"]input[name="aiosp_sitemap_taxonomies[]"][value="all"]' ).click(function () { 316 316 jQuery(this).parents('div:eq(0)').find(':checkbox').attr('checked', this.checked); 317 317 }); 318 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value!="all"] ', 'input[name="aiosp_sitemap_taxonomies[]"][value!="all"]' ).click(function () {318 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value!="all"]input[name="aiosp_sitemap_taxonomies[]"][value!="all"]' ).click(function () { 319 319 if ( !this.checked ) 320 320 jQuery(this).parents('div:eq(0)').find('input[value="all"]:checkbox').attr('checked', this.checked); -
all-in-one-seo-pack/tags/2.2.1/aioseop_module_class.php
r949722 r949889 1409 1409 case 'radio': 1410 1410 case 'select': 1411 default: $this->options[$k] = esc_attr( $this->options[$k] );1411 default: $this->options[$k] = esc_attr( $this->options[$k] ); 1412 1412 } 1413 1413 } -
all-in-one-seo-pack/tags/2.2.1/aioseop_opengraph.php
r948965 r949889 319 319 add_filter( 'jetpack_disable_twitter_cards', '__return_false', 100 ); 320 320 } 321 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 ) { 322 if ( strpos( $output, $xmlns ) === false ) { 323 $output .= "\n\t$xmlns "; 321 $attributes = apply_filters( $this->prefix . 'attributes', Array( 'xmlns="http://www.w3.org/1999/xhtml"', 'xmlns:og="http://ogp.me/ns#"', 'xmlns:fb="http://www.facebook.com/2008/fbml"' ) ); 322 foreach( $attributes as $attr ) { 323 if ( strpos( $output, $attr ) === false ) { 324 $output .= "\n\t$attr "; 324 325 } 325 326 } -
all-in-one-seo-pack/tags/2.2.1/aioseop_sitemap.php
r933964 r949889 355 355 /** Handle 'all' option for post types / taxonomies, further sanitization of filename, rewrites on for multisite, setting up addl pages option. **/ 356 356 function filter_options( $options ) { 357 357 358 if ( is_array( $options["{$this->prefix}posttypes"] ) && in_array( 'all', $options["{$this->prefix}posttypes"] ) && is_array( $this->default_options['posttypes' ]['initial_options'] ) ) 358 359 $options["{$this->prefix}posttypes"] = array_keys( $this->default_options['posttypes' ]['initial_options'] ); -
all-in-one-seo-pack/tags/2.2.1/all_in_one_seo_pack.php
r948965 r949889 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.2 6 Version: 2.2 7 7 Author: Michael Torbert 8 8 Author URI: http://michaeltorbert.com … … 31 31 /** 32 32 * @package All-in-One-SEO-Pack 33 * @version 2.2 33 * @version 2.2 34 34 */ 35 35 36 36 if ( ! defined( 'AIOSEOP_VERSION' ) ) 37 define( 'AIOSEOP_VERSION', '2.2 ' );37 define( 'AIOSEOP_VERSION', '2.2' ); 38 38 39 39 if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) { -
all-in-one-seo-pack/trunk/aioseop_class.php
r949833 r949889 1935 1935 // Thank you, Yoast de Valk, for much of this code. 1936 1936 1937 function aiosp_mrt_get_url( $query ) {1937 function aiosp_mrt_get_url( $query ) { 1938 1938 if ( $query->is_404 || $query->is_search ) 1939 1939 return false; … … 1997 1997 } 1998 1998 if ( empty( $link ) || !is_string( $link ) ) return false; 1999 return $this->get_paged( $link ); 1999 if ( apply_filters( 'aioseop_canonical_url_pagination', $show_page ) ) 2000 $link = $this->get_paged( $link ); 2001 return $link; 2000 2002 } 2001 2003 -
all-in-one-seo-pack/trunk/aioseop_module.js
r948965 r949889 313 313 return false; 314 314 }); 315 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value="all"] ', 'input[name="aiosp_sitemap_taxonomies[]"][value="all"]' ).click(function () {315 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value="all"]input[name="aiosp_sitemap_taxonomies[]"][value="all"]' ).click(function () { 316 316 jQuery(this).parents('div:eq(0)').find(':checkbox').attr('checked', this.checked); 317 317 }); 318 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value!="all"] ', 'input[name="aiosp_sitemap_taxonomies[]"][value!="all"]' ).click(function () {318 jQuery( 'input[name="aiosp_sitemap_posttypes[]"][value!="all"]input[name="aiosp_sitemap_taxonomies[]"][value!="all"]' ).click(function () { 319 319 if ( !this.checked ) 320 320 jQuery(this).parents('div:eq(0)').find('input[value="all"]:checkbox').attr('checked', this.checked); -
all-in-one-seo-pack/trunk/aioseop_module_class.php
r949722 r949889 1409 1409 case 'radio': 1410 1410 case 'select': 1411 default: $this->options[$k] = esc_attr( $this->options[$k] );1411 default: $this->options[$k] = esc_attr( $this->options[$k] ); 1412 1412 } 1413 1413 } -
all-in-one-seo-pack/trunk/aioseop_opengraph.php
r948965 r949889 319 319 add_filter( 'jetpack_disable_twitter_cards', '__return_false', 100 ); 320 320 } 321 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 ) { 322 if ( strpos( $output, $xmlns ) === false ) { 323 $output .= "\n\t$xmlns "; 321 $attributes = apply_filters( $this->prefix . 'attributes', Array( 'xmlns="http://www.w3.org/1999/xhtml"', 'xmlns:og="http://ogp.me/ns#"', 'xmlns:fb="http://www.facebook.com/2008/fbml"' ) ); 322 foreach( $attributes as $attr ) { 323 if ( strpos( $output, $attr ) === false ) { 324 $output .= "\n\t$attr "; 324 325 } 325 326 } -
all-in-one-seo-pack/trunk/aioseop_sitemap.php
r933964 r949889 355 355 /** Handle 'all' option for post types / taxonomies, further sanitization of filename, rewrites on for multisite, setting up addl pages option. **/ 356 356 function filter_options( $options ) { 357 357 358 if ( is_array( $options["{$this->prefix}posttypes"] ) && in_array( 'all', $options["{$this->prefix}posttypes"] ) && is_array( $this->default_options['posttypes' ]['initial_options'] ) ) 358 359 $options["{$this->prefix}posttypes"] = array_keys( $this->default_options['posttypes' ]['initial_options'] ); -
all-in-one-seo-pack/trunk/all_in_one_seo_pack.php
r948965 r949889 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.2 6 Version: 2.2 7 7 Author: Michael Torbert 8 8 Author URI: http://michaeltorbert.com … … 31 31 /** 32 32 * @package All-in-One-SEO-Pack 33 * @version 2.2 33 * @version 2.2 34 34 */ 35 35 36 36 if ( ! defined( 'AIOSEOP_VERSION' ) ) 37 define( 'AIOSEOP_VERSION', '2.2 ' );37 define( 'AIOSEOP_VERSION', '2.2' ); 38 38 39 39 if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.