Allow category preference in permalinks
|Reported by:||aaroncampbell||Owned by:||nacin|
I know that the general consensus is that a post should be assigned to a single category and have many tags. However, we ALLOW a user to set as many categories as they want and I'm constantly facing customers that use multiple categories and are frustrated that they can't set a "preferred" category for their permalinks. The category in the permalink is simply determined by the lowest ID with this code:
If we add a filter just after that, or better yet change it to a filter and add the usort USING the filter, then a plugin could use business logic to decide what category belongs in the permalink instead of being forced to use one that may make no sense.
Change History (28)
comment:17 in reply to: ↑ 16 nacin — 12 months ago
- Keywords commit added
- Milestone changed from Future Release to 3.5