[wp-trac] [WordPress Trac] #58948: Use Elvis operator (`:?`) to replace repeating ternary patterns (`a ? a : b`)
WordPress Trac
noreply at wordpress.org
Mon Jul 31 18:12:47 UTC 2023
#58948: Use Elvis operator (`:?`) to replace repeating ternary patterns (`a ? a :
b`)
-------------------------+-------------------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: trivial | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Changes (by swissspidy):
* focuses: performance, coding-standards => coding-standards
Comment:
A make/core blog post proposal is currently being worked on to talk about
adopting new syntax. I suggest waiting for that to be published.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58948#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list