[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 Sep 14 17:19:27 UTC 2012


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

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21845]:
 {{{
 #!CommitTicketReference repository="" revision="21845"
 In get_page_by_path(), attempt to return an item that has the same post
 type before returning an attachment with the same name. props
 SergeyBiryukov. tests in [UT1021]. fixes #15665.
 }}}

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


More information about the wp-trac mailing list