[wp-trac] [WordPress Trac] #19958: Allow custom post types as "home"

WordPress Trac noreply at wordpress.org
Mon Nov 26 15:53:40 UTC 2012


#19958: Allow custom post types as "home"
----------------------------+------------------------------
 Reporter:  sooskriszta     |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3.1
 Severity:  major           |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by pbearne):

 Notes to self

 removing $wpdb->prepare have I broken SQL santation

 check this 3639
  if ( array_intersect( $post_type, $hierarchical_post_types ) ==
 count($post_type) )
                return $pages;

 this should be a not the same return  need to check the output of
 array_intersect

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19958#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list