[wp-trac] [WordPress Trac] #35312: Support for transforming REST API request arguments
WordPress Trac
noreply at wordpress.org
Tue Apr 11 05:42:53 UTC 2017
#35312: Support for transforming REST API request arguments
-----------------------------+----------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: REST API | Version:
Severity: normal | Resolution: wontfix
Keywords: needs-patch | Focuses:
-----------------------------+----------------------
Changes (by rmccue):
* status: new => closed
* resolution: => wontfix
* milestone: Future Release =>
Comment:
I'm going to close this out as a wontfix. While there are a bunch of spots
which have code repetition, they usually turn out to be full of special
cases that make a generic `transform_to` useless. Where this isn't the
case, the code is usually pretty clean anyway, or could simply use a
`foreach` loop.
I don't see the need for this as a general-purpose argument in parameter
registration. This could always be implemented as a plugin if you really
want it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35312#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list