[wp-trac] [WordPress Trac] #58874: Code Modernization: Consider using the null coalescing operator.

WordPress Trac noreply at wordpress.org
Tue Sep 12 21:02:37 UTC 2023


#58874: Code Modernization: Consider using the null coalescing operator.
-----------------------------------+---------------------
 Reporter:  costdev                |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  6.4
Component:  General                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------

Comment (by marybaum):

 I am a huge fan of new syntax in PHP and JS. And, I'm not interested in
 signing anyone up for endless backports, per Sergey. So greenlighting the
 operators in new code and patches seems a good compromise.

 But our process has been to run it by the community with a post on the p2.
 Thoughts on that?

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


More information about the wp-trac mailing list