[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
Sun Mar 13 06:24:57 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:  Awaiting Review
Component:  Post Types    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by scribu):

 [attachment:16843.diff] has the added bonus that it avoids an unnecessary
 query, if any of the preceding conditions match.

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


More information about the wp-trac mailing list