[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 15:06:00 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 hakre):

 For better readability of the code, please add logical operators (mostly
 `||` in your patch) to the front of the line so it's easier to read how
 lines are in relation to each other.

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


More information about the wp-trac mailing list