Plugin Directory

Changeset 1079109

Timestamp:
01/30/2015 04:52:03 PM (10 years ago)
Author:
pbaylies
Message:

Bugfix release; fixed bugs with keywords, front page detection; tagged release.

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  
    4848    var $profile_id;
    4949    var $meta_opts = false;
     50
    5051   
    5152    function All_in_One_SEO_Pack() {
     
    783784            else
    784785                $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;
    786787            if  ( get_option( 'show_on_front' ) == 'page' ) {
    787788                if ( is_page() && $post->ID == get_option( 'page_on_front' ) )
    788                     $wp_query->is_front_page = true;
     789                    $->is_front_page = true;
    789790                elseif ( $post->ID == get_option( 'page_for_posts' ) )
    790791                    $wp_query->is_home = true;
    791792            }
    792793            $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 ) {
    794795                $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
    795796                if ( empty( $title ) ) $title = $post->post_title;
     
    14091410
    14101411    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;
    14131413        $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;
    14161416    }
    14171417   
     
    30263026    function clean_keyword_list( $keywords ) {
    30273027        $small_keywords = array();
     3028
    30283029        if ( !empty( $keywords ) )
    30293030            foreach ( $keywords as $word ) {
  • all-in-one-seo-pack/tags/2.2.5.1/aioseop_module_class.php

    r1074299 r1079109  
    754754                        $wp_query->is_single = true;
    755755                    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' ) )
    759757                            $wp_query->is_home = true;
    760758                    }
  • all-in-one-seo-pack/tags/2.2.5.1/aioseop_opengraph.php

    r1074299 r1079109  
    735735            global $aiosp, $wp_query;
    736736            $this->type = '';
    737             if ( $wp_query->is_front_page ) {
     737            if ( $ ) {
    738738                if ( !empty( $this->options ) && !empty( $this->options['aiosp_opengraph_categories'] ) )
    739739                    $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  
    44Plugin URI: http://semperfiwebdesign.com
    55Description: 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&currency_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
     6Version: 2.2.5
    77Author: Michael Torbert
    88Author URI: http://michaeltorbert.com
     
    3131/**
    3232 * @package All-in-One-SEO-Pack
    33  * @version 2.2.5
     33 * @version 2.2.5
    3434 */
    3535
     
    4040
    4141if ( ! defined( 'AIOSEOP_VERSION' ) )
    42     define( 'AIOSEOP_VERSION', '2.2.5' );
     42    define( 'AIOSEOP_VERSION', '2.2.5' );
    4343
    4444if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
  • all-in-one-seo-pack/tags/2.2.5.1/readme.txt

    r1074325 r1079109  
    55Requires at least: 3.3
    66Tested up to: 4.1
    7 Stable tag: 2.2.5
     7Stable tag:
    88
    99All 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  
    4848    var $profile_id;
    4949    var $meta_opts = false;
     50
    5051   
    5152    function All_in_One_SEO_Pack() {
     
    783784            else
    784785                $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;
    786787            if  ( get_option( 'show_on_front' ) == 'page' ) {
    787788                if ( is_page() && $post->ID == get_option( 'page_on_front' ) )
    788                     $wp_query->is_front_page = true;
     789                    $->is_front_page = true;
    789790                elseif ( $post->ID == get_option( 'page_for_posts' ) )
    790791                    $wp_query->is_home = true;
    791792            }
    792793            $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 ) {
    794795                $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
    795796                if ( empty( $title ) ) $title = $post->post_title;
     
    14091410
    14101411    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;
    14131413        $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;
    14161416    }
    14171417   
     
    30263026    function clean_keyword_list( $keywords ) {
    30273027        $small_keywords = array();
     3028
    30283029        if ( !empty( $keywords ) )
    30293030            foreach ( $keywords as $word ) {
  • all-in-one-seo-pack/trunk/aioseop_module_class.php

    r1074299 r1079109  
    754754                        $wp_query->is_single = true;
    755755                    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' ) )
    759757                            $wp_query->is_home = true;
    760758                    }
  • all-in-one-seo-pack/trunk/aioseop_opengraph.php

    r1074299 r1079109  
    735735            global $aiosp, $wp_query;
    736736            $this->type = '';
    737             if ( $wp_query->is_front_page ) {
     737            if ( $ ) {
    738738                if ( !empty( $this->options ) && !empty( $this->options['aiosp_opengraph_categories'] ) )
    739739                    $this->type = $this->options['aiosp_opengraph_categories'];
  • all-in-one-seo-pack/trunk/all_in_one_seo_pack.php

    r1074299 r1079109  
    44Plugin URI: http://semperfiwebdesign.com
    55Description: 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&currency_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
     6Version: 2.2.5
    77Author: Michael Torbert
    88Author URI: http://michaeltorbert.com
     
    3131/**
    3232 * @package All-in-One-SEO-Pack
    33  * @version 2.2.5
     33 * @version 2.2.5
    3434 */
    3535
     
    4040
    4141if ( ! defined( 'AIOSEOP_VERSION' ) )
    42     define( 'AIOSEOP_VERSION', '2.2.5' );
     42    define( 'AIOSEOP_VERSION', '2.2.5' );
    4343
    4444if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
  • all-in-one-seo-pack/trunk/readme.txt

    r1074325 r1079109  
    55Requires at least: 3.3
    66Tested up to: 4.1
    7 Stable tag: 2.2.5
     7Stable tag:
    88
    99All 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.