[wp-trac] [WordPress Trac] #15665: Page name won't work if the parent page has an attachment with the same name

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 29 16:03:21 UTC 2012


#15665: Page name won't work if the parent page has an attachment with the same
name
-------------------------------------------------+-------------------------
 Reporter:  designsimply                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  high                                 |   Milestone:  3.5
Component:  Permalinks                           |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing early        |
  needs-unit-tests                               |
-------------------------------------------------+-------------------------

Comment (by devesine):

 Replying to [comment:20 nacin]:
 > simply call wp_insert_attachment()

 Looks like that works fine; updated in [attachment:15665-unit-2.patch].

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


More information about the wp-trac mailing list