[wp-trac] [WordPress Trac] #34305: Protect the `wp/v[0-9]*` namespace

WordPress Trac noreply at wordpress.org
Wed Oct 28 00:04:41 UTC 2015


#34305: Protect the `wp/v[0-9]*` namespace
--------------------------------------+------------------
 Reporter:  rachelbaker               |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.4
Component:  REST API                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:
--------------------------------------+------------------

Comment (by georgestephanis):

 Utter pedantism, but probably better to use `[\d]+` instead of `[0-9]*` --
 swapping `*` to `+` as I think there'd always be at least 1 digit?

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


More information about the wp-trac mailing list