Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #31140


Ignore:
Timestamp:
02/03/2015 06:25:34 AM (10 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31140 – Description

    initial v2  
    1010
    1111I started with functions.php and found this bit of code:
    12 `// Manually protest wsg-intros because WLM doesn't
     12{{{
     13// Manually protest wsg-intros because WLM doesn't
    1314add_action( 'pre_get_posts', 'protect_wsg_intros' );
    1415function protect_wsg_intros() {
     
    1920        wp_redirect( 'http://localhost/wsg/oops-this-content-is-members-only' );
    2021    }
    21 }`
    22 
     22}
     23}}}
    2324When I remarked out the elseif statement, the single custom post type worked on my theme with all plugins enabled.
    2425