[wp-trac] [WordPress Trac] #48530: Match REST API route by namespace before performing regex checks

WordPress Trac noreply at wordpress.org
Tue Feb 11 02:15:50 UTC 2020


#48530: Match REST API route by namespace before performing regex checks
--------------------------------------+--------------------------
 Reporter:  TimothyBlynJacobs         |       Owner:  (none)
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.4
Component:  REST API                  |     Version:  4.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by kadamwhite):

 @TimothyBlynJacobs and I discussed in Slack (DM thread, unfortunately)
 that because namespace is the only key-value pair on the namespace arrays
 that would be worth matching against, the string namespace parameter feels
 preferable.

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


More information about the wp-trac mailing list