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

WordPress Trac noreply at wordpress.org
Mon Jul 13 12:48:49 UTC 2015


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

Comment (by boonebgorges):

 Replying to [comment:91 hkucukali]:
 > I tested it by creating a post without title which supposed to get an
 id=3862.
 > Permalink setting was %postname%
 >
 > It converted the permalink to example.com/3862-2, but url redirects to
 404 still.

 Just tested on trunk (rev 33152):

 1. Dashboard > Settings > Permalinks - changed permalink structure to
 `/%postname%/` and hit Save Changes.
 2. Posts > Add New
 3. Created a post with no title and hit Publish
 4. A post is created with id 67.
 5. "Permalink" is of the form example.com/67-2/.
 6. Visiting example.com/67-2/ *shows the post as expected*, not a 404.

 hkucukali - Can you verify that these are the steps you've taken? And can
 you also verify that you are testing against trunk, and not just a patched
 version of 4.2.x? It's possible that you made a mistake when backporting.

 Can anyone else verify one way or another whether posts with no titles are
 working correctly?

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


More information about the wp-trac mailing list