Provide some API for WP_Rewrite
|Reported by:||davidhouse||Owned by:||anonymous|
|Severity:||normal||Keywords:||has-patch 2nd-opinion dev-feedback|
Description (last modified by davidhouse)
This patch adds add_rewrite_rule(), add_rewrite_tag(), add_feed(). add_endpoint() and add_base() (if we want to include that one) are still needed.
Specification for these functions: http://codex.wordpress.org/User%3ADavidHouse/WP_Rewrite_API
By the way, I haven't had a chance to test this yet, this isn't meant to be 100% functional code, just some implementation ideas. Feel free to poke at it. I'll probably test and bugfix tomorrow.
Release early and often, right? :)
Change History (36)
comment:28 foolswisdom — 7 years ago
- Keywords has-patch 2nd-opinion dev-feedback added; bg|has-patch bg|2nd-opinion bg|dev-feedback removed
- Milestone changed from 2.2 to 2.3