[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 16:53:33 UTC 2015


#16840: add_rewrite_rule() should accept an array for the $redirect parameter
-------------------------------------------------+-------------------------
 Reporter:  scribu                               |       Owner:
     Type:  enhancement                          |  wonderboymusic
 Priority:  normal                               |      Status:  assigned
Component:  Rewrite Rules                        |   Milestone:  4.4
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing has-unit-    |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by DrewAPicture):

 [attachment:16840.3.diff] adds stricter checks in the tests after feedback
 from @boonebgorges.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16840#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list