Changeset 1079109
- Timestamp:
- 01/30/2015 04:52:03 PM (10 years ago)
- Location:
- all-in-one-seo-pack
- Files:
-
- 1 added
- 6 edited
- 48 copied
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-seo-pack/tags/2.2.5.1/aioseop_class.php
r1074299 r1079109 48 48 var $profile_id; 49 49 var $meta_opts = false; 50 50 51 51 52 function All_in_One_SEO_Pack() { … … 783 784 else 784 785 $wp_query->is_single = true; 785 if ( empty( $ wp_query->is_front_page ) ) $wp_query->is_front_page = false;786 if ( empty( $->is_front_page = false; 786 787 if ( get_option( 'show_on_front' ) == 'page' ) { 787 788 if ( is_page() && $post->ID == get_option( 'page_on_front' ) ) 788 $ wp_query->is_front_page = true;789 $->is_front_page = true; 789 790 elseif ( $post->ID == get_option( 'page_for_posts' ) ) 790 791 $wp_query->is_home = true; 791 792 } 792 793 $wp_query->queried_object = $post; 793 if ( !empty( $post ) && !$wp_query->is_home && !$ wp_query->is_front_page ) {794 if ( !empty( $post ) && !$wp_query->is_home && !$->is_front_page ) { 794 795 $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) ); 795 796 if ( empty( $title ) ) $title = $post->post_title; … … 1409 1410 1410 1411 function is_static_front_page() { 1411 static $is_front_page = null; 1412 if ( $is_front_page !== null ) return $is_front_page; 1412 if ( isset( $this->is_front_page ) && $this->is_front_page !== null ) return $this->is_front_page; 1413 1413 $post = $this->get_queried_object(); 1414 $ is_front_page = ( get_option( 'show_on_front' ) == 'page' && is_page() && $post->ID == get_option( 'page_on_front' ) );1415 return $ is_front_page;1414 $is_front_page = ( get_option( 'show_on_front' ) == 'page' && is_page() && $post->ID == get_option( 'page_on_front' ) ); 1415 return $is_front_page; 1416 1416 } 1417 1417 … … 3026 3026 function clean_keyword_list( $keywords ) { 3027 3027 $small_keywords = array(); 3028 3028 3029 if ( !empty( $keywords ) ) 3029 3030 foreach ( $keywords as $word ) { -
all-in-one-seo-pack/tags/2.2.5.1/aioseop_module_class.php
r1074299 r1079109 754 754 $wp_query->is_single = true; 755 755 if ( get_option( 'show_on_front' ) == 'page' ) { 756 if ( is_page() && $post->ID == get_option( 'page_on_front' ) ) 757 $wp_query->is_front_page = true; 758 elseif ( $post->ID == get_option( 'page_for_posts' ) ) 756 if ( $post->ID == get_option( 'page_for_posts' ) ) 759 757 $wp_query->is_home = true; 760 758 } -
all-in-one-seo-pack/tags/2.2.5.1/aioseop_opengraph.php
r1074299 r1079109 735 735 global $aiosp, $wp_query; 736 736 $this->type = ''; 737 if ( $ wp_query->is_front_page) {737 if ( $ ) { 738 738 if ( !empty( $this->options ) && !empty( $this->options['aiosp_opengraph_categories'] ) ) 739 739 $this->type = $this->options['aiosp_opengraph_categories']; -
all-in-one-seo-pack/tags/2.2.5.1/all_in_one_seo_pack.php
r1074299 r1079109 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.5 6 Version: 2.2.5 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.5 33 * @version 2.2.5 34 34 */ 35 35 … … 40 40 41 41 if ( ! defined( 'AIOSEOP_VERSION' ) ) 42 define( 'AIOSEOP_VERSION', '2.2.5 ' );42 define( 'AIOSEOP_VERSION', '2.2.5' ); 43 43 44 44 if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) { -
all-in-one-seo-pack/tags/2.2.5.1/readme.txt
r1074325 r1079109 5 5 Requires at least: 3.3 6 6 Tested up to: 4.1 7 Stable tag: 2.2.57 Stable tag: 8 8 9 9 All in One SEO Pack is a WordPress SEO plugin to automatically optimize your WordPress blog for Search Engines such as Google. -
all-in-one-seo-pack/trunk/aioseop_class.php
r1074299 r1079109 48 48 var $profile_id; 49 49 var $meta_opts = false; 50 50 51 51 52 function All_in_One_SEO_Pack() { … … 783 784 else 784 785 $wp_query->is_single = true; 785 if ( empty( $ wp_query->is_front_page ) ) $wp_query->is_front_page = false;786 if ( empty( $->is_front_page = false; 786 787 if ( get_option( 'show_on_front' ) == 'page' ) { 787 788 if ( is_page() && $post->ID == get_option( 'page_on_front' ) ) 788 $ wp_query->is_front_page = true;789 $->is_front_page = true; 789 790 elseif ( $post->ID == get_option( 'page_for_posts' ) ) 790 791 $wp_query->is_home = true; 791 792 } 792 793 $wp_query->queried_object = $post; 793 if ( !empty( $post ) && !$wp_query->is_home && !$ wp_query->is_front_page ) {794 if ( !empty( $post ) && !$wp_query->is_home && !$->is_front_page ) { 794 795 $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) ); 795 796 if ( empty( $title ) ) $title = $post->post_title; … … 1409 1410 1410 1411 function is_static_front_page() { 1411 static $is_front_page = null; 1412 if ( $is_front_page !== null ) return $is_front_page; 1412 if ( isset( $this->is_front_page ) && $this->is_front_page !== null ) return $this->is_front_page; 1413 1413 $post = $this->get_queried_object(); 1414 $ is_front_page = ( get_option( 'show_on_front' ) == 'page' && is_page() && $post->ID == get_option( 'page_on_front' ) );1415 return $ is_front_page;1414 $is_front_page = ( get_option( 'show_on_front' ) == 'page' && is_page() && $post->ID == get_option( 'page_on_front' ) ); 1415 return $is_front_page; 1416 1416 } 1417 1417 … … 3026 3026 function clean_keyword_list( $keywords ) { 3027 3027 $small_keywords = array(); 3028 3028 3029 if ( !empty( $keywords ) ) 3029 3030 foreach ( $keywords as $word ) { -
all-in-one-seo-pack/trunk/aioseop_module_class.php
r1074299 r1079109 754 754 $wp_query->is_single = true; 755 755 if ( get_option( 'show_on_front' ) == 'page' ) { 756 if ( is_page() && $post->ID == get_option( 'page_on_front' ) ) 757 $wp_query->is_front_page = true; 758 elseif ( $post->ID == get_option( 'page_for_posts' ) ) 756 if ( $post->ID == get_option( 'page_for_posts' ) ) 759 757 $wp_query->is_home = true; 760 758 } -
all-in-one-seo-pack/trunk/aioseop_opengraph.php
r1074299 r1079109 735 735 global $aiosp, $wp_query; 736 736 $this->type = ''; 737 if ( $ wp_query->is_front_page) {737 if ( $ ) { 738 738 if ( !empty( $this->options ) && !empty( $this->options['aiosp_opengraph_categories'] ) ) 739 739 $this->type = $this->options['aiosp_opengraph_categories']; -
all-in-one-seo-pack/trunk/all_in_one_seo_pack.php
r1074299 r1079109 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.5 6 Version: 2.2.5 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.5 33 * @version 2.2.5 34 34 */ 35 35 … … 40 40 41 41 if ( ! defined( 'AIOSEOP_VERSION' ) ) 42 define( 'AIOSEOP_VERSION', '2.2.5 ' );42 define( 'AIOSEOP_VERSION', '2.2.5' ); 43 43 44 44 if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) { -
all-in-one-seo-pack/trunk/readme.txt
r1074325 r1079109 5 5 Requires at least: 3.3 6 6 Tested up to: 4.1 7 Stable tag: 2.2.57 Stable tag: 8 8 9 9 All in One SEO Pack is a WordPress SEO plugin to automatically optimize your WordPress blog for Search Engines such as Google.
Note: See TracChangeset
for help on using the changeset viewer.