Plugin Directory

Changeset 949833

Timestamp:
07/16/2014 06:57:56 PM (10 years ago)
Author:
pbaylies
Message:

Bugfix for is_page_included()

File:
1 edited

Legend:

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

    r948965 r949833  
    11051105        if( empty( $aioseop_options['aiosp_enablecpost'] ) ) {
    11061106            $wp_post_types = get_post_types( Array( '_builtin' => true ) ); // don't display meta if SEO isn't enabled on custom post types -- pdb
    1107             if( !is_singular( $wp_post_types ) && !is_front_page() ) return false;
     1107            if( !is_singular( $wp_post_types ) && !is_front_page() ) return false;
    11081108        } elseif ( !empty( $aioseop_options['aiosp_cpostadvanced'] ) ) {
    11091109            $wp_post_types = $aioseop_options['aiosp_cpostactive'];
Note: See TracChangeset for help on using the changeset viewer.