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

WordPress Trac noreply at wordpress.org
Sun Feb 22 11:05:42 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):

 I've added three new tests and a couple fixes in patch
 [attachment:5305.8.diff]. Two of those tests are to demonstrate the
 `post_name=2` vs. `post_name=02` issue, and that it's now been fixed. The
 third test demonstrates the pagination issue I mentioned above. Basically,
 the test would return `true` before the patch is applied and is expected
 to return `true` after the patch is applied. Without the latest changes,
 `is_day` would return `false`, which is not the expected behavior. I would
 have left this all alone until Monday, but I got pulled in when I started
 testing.

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


More information about the wp-trac mailing list