[wp-trac] [WordPress Trac] #47552: post_name when inserting is not guaranteed to be unique

WordPress Trac noreply at wordpress.org
Tue Jun 18 03:59:15 UTC 2019


#47552: post_name when inserting is not guaranteed to be unique
-------------------------------+------------------------------
 Reporter:  domslee            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by domslee):

 Should we consider a UNIQUE constraint on (post_name, post_type,
 post_status)?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47552#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list