[wp-trac] [WordPress Trac] #31009: Posttitle is the same as the ID of the chosen homepage bug

WordPress Trac noreply at wordpress.org
Wed Jan 14 09:33:12 UTC 2015


#31009: Posttitle is the same as the ID of the chosen homepage bug
----------------------------+------------------------------
 Reporter:  EmeryFramboise  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:  4.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by EmeryFramboise):

 Replying to [ticket:31009 EmeryFramboise]:
 > Hi,
 >
 > I ran in to a problem which I think is in the WP core.
 >
 > I'm adding pages with the posttitle '1', '2', '3', et cetera (primary
 school classes). I saw that the only page that does not work is the page
 that has the same posttitle as the ID of the homepage.
 >
 > The ID of the page that I chose as 'home', is 5. When I add a page with
 a posttitle '5', the homepage template gets loaded instead of the chosen
 template for my page. When I change my posttitle to any other page id this
 does not happen. Very weird behaviour.


 Ok, to clear it up a bit. The bug happens when you have a page posttitle
 that is the same as the ID of the static front-page you've selected under
 the 'reading settings'. If I change my static front-page to my Contact-
 page (ID: 8), and then change a page's posttitle to '8', it bugs again.

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


More information about the wp-trac mailing list