[wp-trac] [WordPress Trac] #16843: wp_unique_post_slug() doesn't check pagination base when CPT has archive

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 22 18:43:02 UTC 2011


#16843: wp_unique_post_slug() doesn't check pagination base when CPT has archive
--------------------------+------------------
 Reporter:  scribu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Post Types    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by scribu):

 * milestone:  3.1 => 3.2


Comment:

 You did mean 3.2, right?

 The added line is indeed in the final block:

 {{{
 || ( $post_type_obj->has_archive && $wp_rewrite->pagination_base == $slug
 )
 }}}

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


More information about the wp-trac mailing list