[wp-trac] [WordPress Trac] #5305: permalinks broken when article name is numeric

WordPress Trac noreply at wordpress.org
Sun Feb 22 08:01:01 UTC 2015


#5305: permalinks broken when article name is numeric
-------------------------------------+---------------------------
 Reporter:  thomask                  |       Owner:  valendesigns
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.2
Component:  Permalinks               |     Version:  2.3.1
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------

Comment (by valendesigns):

 Sorry, I take my comment back about `get_page_by_path()`. After further
 investigation and testing, I was very much wrong on that one. I'm trying
 to remember why I thought that it would return `null` in that situation, I
 know there was a reason for the extra `get_post` call in the resolve
 function, but for the life of me I can't remember what I was thinking when
 I wrote it. Disregard that part of my previous response. Though if I
 remember what edge case I was trying to account for I'll let you know.

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


More information about the wp-trac mailing list