Plugin Directory

Changeset 951236

Timestamp:
07/18/2014 09:08:52 PM (10 years ago)
Author:
pbaylies
Message:

Bugfix for plugin conflict redirect loop issue.

File:
1 edited

Legend:

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

    r950345 r951236  
    468468            "dont_truncate_descriptions"=> Array(
    469469                'name' => __( 'Never Shorten Long Descriptions:', 'all_in_one_seo_pack' ),
    470                 'default' => 0),           
     470                'default' => 0),
    471471            "unprotect_meta"=> Array(
    472472                'name' => __( 'Unprotect Post Meta Fields:', 'all_in_one_seo_pack' ),
     
    11031103        if ( aioseop_mrt_exclude_this_page() ) return false;
    11041104        $post = $this->get_queried_object();
     1105
     1106
     1107
    11051108        if( empty( $aioseop_options['aiosp_enablecpost'] ) ) {
    11061109            $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() && !is_singular( $wp_post_types ) && !is_front_page() ) return false;
     1110            if( is_singular() && !i $wp_post_types ) && !is_front_page() ) return false;
    11081111        } elseif ( !empty( $aioseop_options['aiosp_cpostadvanced'] ) ) {
    11091112            $wp_post_types = $aioseop_options['aiosp_cpostactive'];
    1110             if ( is_singular() && !is_singular( $wp_post_types ) && !is_front_page() ) return false;
     1113            if ( is_singular() && !i $wp_post_types ) && !is_front_page() ) return false;
    11111114            if ( is_post_type_archive() && !is_post_type_archive( $wp_post_types ) ) return false;           
    11121115        }
Note: See TracChangeset for help on using the changeset viewer.