Opened 20 months ago
Last modified 19 months ago
#18877 new enhancement
DRY up rewrite rule matching
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Rewrite Rules | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | landwire |
Description (last modified by scribu)
Currently, the whole rewrite matching loop is duplicated: once in WP::parse_request() and once in url_to_postid().
Re-posting the patch from #16687 for consideration.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.

Hi Scribu,
kind of lost with the following. Just added myself to 3 trac tickets, which might be addressing this issue, but I am not sure:
I am looking for the possibility to have a permalink of the following:
%role%/%author%/%posttype%/%postname%
Basically adding %role% and %posttype% as structure tags. Is that at all possible?
Many thanks for any hints,
Sascha