[wp-trac] [WordPress Trac] #52192: REST API: Add batch image editing

WordPress Trac noreply at wordpress.org
Mon Feb 1 19:07:49 UTC 2021


#52192: REST API: Add batch image editing
-------------------------------------+-----------------------
 Reporter:  ajlende                  |       Owner:  antpb
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.7
Component:  REST API                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 > DEPRECATED: Use `modifiers` instead

 Putting this in translatable descriptions doesn't seem to follow any other
 patterns in core. Is that necessary? Is there anything wrong with using
 the older format, apart from the newer one taking precedence?

 Could we use call `_deprecated_argument()` instead when any of these older
 arguments are used? That would also allow us to specify the version in
 which they were deprecated.

 At the very least, `modifiers` should be moved out of the translatable
 strings and replaced with a placeholder, to prevent it from being
 translated.

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


More information about the wp-trac mailing list