[wp-trac] [WordPress Trac] #50137: New IMG sizes (1536x1536 & 2048x2048) names fail in JS/REST
WordPress Trac
noreply at wordpress.org
Mon May 11 20:30:43 UTC 2020
#50137: New IMG sizes (1536x1536 & 2048x2048) names fail in JS/REST
--------------------------+-----------------------------------
Reporter: bahia0019 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version:
Severity: normal | Resolution: worksforme
Keywords: | Focuses: javascript, rest-api
--------------------------+-----------------------------------
Comment (by bahia0019):
@ocean90 Thanks! Your explanation made me do a little googling to learn
about the difference between dot and bracket notation.
Is this the only place in the REST api where bracket notation would be
needed?
Not being as familiar with the usage, I think having a consistent approach
to nomenclature would be important.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50137#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list