[wp-trac] [WordPress Trac] #40704: REST API request includes possibly unintended numeric parameters from regex parsing

WordPress Trac noreply at wordpress.org
Mon Jul 17 07:23:38 UTC 2017


#40704: REST API request includes possibly unintended numeric parameters from regex
parsing
---------------------------------------------+-----------------------
 Reporter:  flixos90                         |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  4.8.1
Component:  REST API                         |     Version:  4.4
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------

Comment (by flixos90):

 @rmccue

 > If we want to drop support for that, we should make sure we're doing so
 intentionally, and that it's well-documented in the release notes. IMO, it
 should also go into a major not a minor.

 Good point, I agree. I think it's fine to drop support since all the
 examples (from which people are hopefully copy/paste/modifying) did not
 use numeric matches. But that is indeed a change that should be
 highlighted in a dev-note. I'd move this to 4.9.

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


More information about the wp-trac mailing list