WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16711 closed defect (bug) (duplicate)

A way to handle post slugs that are entirely numeric is needed

Reported by: waclawjacek Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Permalinks Keywords:
Focuses: Cc:

Description

If a post has a slug that's all numbers, which WordPress allows, the permalink to it will then be treated as a query containing the post ID, not the slug.

I guess one way to do it would be to add a prefix to either all post ID requests, or just those slugs, that are all numbers?

Cheers! WJ

Change History (3)

#1 @scribu
7 years ago

  • Summary changed from A way to handle permalinks that are entirely numeric is needed to A way to handle post slugs that are entirely numeric is needed

#2 @solarissmoke
7 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#3 @scribu
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.