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

WordPress Trac noreply at wordpress.org
Fri May 31 09:51:12 UTC 2024


#58874: Code Modernization: Consider using the null coalescing operator.
-------------------------------------------------+-------------------------
 Reporter:  costdev                              |       Owner:  costdev
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch awaiting-php7-make-post-   |     Focuses:
  first 2nd-opinion                              |
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 FWIW, by now some new code has already been introduced into core (and
 shipped) that uses the null coalescing operator.

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


More information about the wp-trac mailing list