[wp-trac] Re: [WordPress Trac] #9726: wp_unique_post_slug() not used when inserting attachment from media / add new

WordPress Trac wp-trac at lists.automattic.com
Tue May 26 19:31:56 GMT 2009


#9726: wp_unique_post_slug() not used when inserting attachment from media / add
new
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  Denis-de-Bernardy
     Type:  defect (bug)       |       Status:  accepted         
 Priority:  normal             |    Milestone:  2.8              
Component:  Upload             |      Version:  2.8              
 Severity:  normal             |   Resolution:                   
 Keywords:  needs-patch        |  
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 dunno. I think the actual issue is two-fold:

  - the check we replaced in the initial patch for wp_unique_post_slug() is
 actually erroneous. the sql params differ from a check to the next
  - the check we replaced in this ticket's patch was yet another sql
 statement

 uploading a new patch in a sec, it's still untested.

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


More information about the wp-trac mailing list