[wp-trac] [WordPress Trac] #16840: add_rewrite_rule() should accept an array for the $redirect parameter
WordPress Trac
noreply at wordpress.org
Mon Sep 28 04:35:04 UTC 2015
#16840: add_rewrite_rule() should accept an array for the $redirect parameter
-------------------------------------------------+-------------------------
Reporter: scribu | Owner:
Type: enhancement | DrewAPicture
Priority: normal | Status: accepted
Component: Rewrite Rules | Milestone: 4.4
Severity: normal | Version:
Keywords: has-patch needs-testing has-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):
* keywords: has-patch needs-refresh needs-unit-tests => has-patch needs-
testing has-unit-tests
* owner: => DrewAPicture
* status: new => accepted
Comment:
[attachment:16840.2.diff] updates the patch including docs and adds tests
both for the `add_rewrite_rule()` wrapper and `WP_Rewrite::add_rule()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16840#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list