WordPress.org

Plugin Directory

Changeset 594482 for all-in-one-seo-pack


Ignore:
Timestamp:
09/04/12 15:13:50 (20 months ago)
Author:
pbaylies
Message:

Tested; reverted fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • all-in-one-seo-pack/trunk/aioseop.class.php

    r594474 r594482  
    547547                $link = get_term_link( $term, $taxonomy ); 
    548548                $link = $this->yoast_get_paged( $link ); 
    549         } elseif ( $query->is_archive && function_exists( 'get_post_type_archive_link' ) && ( $post_type == get_query_var( 'post_type' ) ) ) { 
     549        } elseif ( $query->is_archive && function_exists( 'get_post_type_archive_link' ) && ( $post_type = get_query_var( 'post_type' ) ) ) { 
    550550                $link = get_post_type_archive_link( $post_type ); 
    551551        } else { 
Note: See TracChangeset for help on using the changeset viewer.