[wp-trac] [WordPress Trac] #19683: image returned instead of page text when using permalinks - reproducable

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 29 11:18:35 UTC 2011


#19683: image returned instead of page text when using permalinks - reproducable
--------------------------+-----------------------------
 Reporter:  juggledad     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 If there is an image with the same name as a page title and permalinks are
 anything but the default, the image will show instead of the page text.
 This is reproducable and the same issue could not be recreated in 3.2.1

 Steps used to verify the 'bug' - this was done on a fresh install of
 3.3[[BR]]
 1) log in as admin[[BR]]
 2) go to dashboard->media->add new add an image call it 'imagebug.jpg'
 (the name is not important)[[BR]]
 3) add a new page - set the title to 'imagebug' and fill in the text with
 what ever text you want[[BR]]
 4) go view the page, you will see the title and the text[[BR]]
 5) change the permalinks to something other than the default[[BR]]
 6) go view the page again - you will see the image instead of the page
 text

 now for something interesting[[BR]]
 1) go to the media library and edit the image[[BR]]
 2) change teh TITLE to 'foo' and hit save[[BR]]
 3) change the TITLE back to 'imagebug' and save it[[BR]]
 4) go view the page[[BR]]
 now the page text will show no matter what the permalinks is set to.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19683>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list