[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:26:39 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          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list