WordPress.org

Plugin Directory

Changeset 636751


Ignore:
Timestamp:
12/10/12 20:37:10 (16 months ago)
Author:
mitchoyoshitaka
Message:

back out unnecessary is_main_query check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • yet-another-related-posts-plugin/trunk/class-core.php

    r636731 r636751  
    10561056        if ( is_feed() ) 
    10571057            return $content; 
    1058         // @since 4.0.2: only filter on main query 
    1059         if ( !is_main_query() ) 
    1060             return $content; 
    1061          
     1058 
    10621059        $auto_display_post_types = $this->get_option( 'auto_display_post_types' ); 
    10631060 
Note: See TracChangeset for help on using the changeset viewer.