[wp-trac] [WordPress Trac] #48400: Coding Standards: Revisit decision to keep PHP 'array()' notation and switch to modern '[]' bracket notation
WordPress Trac
noreply at wordpress.org
Thu Mar 14 23:28:19 UTC 2024
#48400: Coding Standards: Revisit decision to keep PHP 'array()' notation and
switch to modern '[]' bracket notation
-------------------------+-------------------------------
Reporter: apedog | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by apedog):
Reading through WordPress PHP code feels downright archaic.
My Javascripts know that [] is an array. My JSONs know that [] is an
array. Hell, my PHP knows that [] is an array. Only WordPress has to spell
it out for me.
I also don't understand why the discussion/decision to `wontfix` this has
to happen elsewhere.. weird.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48400#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list