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

WordPress Trac noreply at wordpress.org
Mon Jul 24 15:08:54 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 hellofromTonya):

 Adopting this syntax change will also impact code being merged from
 Gutenberg. How? The Gutenberg plugin supports the last 2 WP releases,
 which will be 6.3 (PHP 7.0 minimum) and 6.2 (PHP 5.6 minimum).

 There's a discussion in Gutenberg for when it can raise its minimum
 supported PHP version https://github.com/WordPress/gutenberg/issues/52344.

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


More information about the wp-trac mailing list