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

WordPress Trac noreply at wordpress.org
Tue Jan 30 06:24:23 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                              |
-------------------------------------------------+-------------------------
Changes (by chaion07):

 * keywords:  has-patch awaiting-php7-make-post-first => has-patch awaiting-
     php7-make-post-first 2nd-opinion
 * milestone:  6.5 => Future Release


Comment:

 Thanks @costdev for reporting this. We reviewed this ticket during a
 recent [https://wordpress.slack.com/archives/C02RQBWTW/p1706592287280049
 bug-scrub session]. Based on the feedback we are making the following
 changes:

 01. Updated milestone to Future Release
 02. Added 2nd-opinion keyword
 03. Waiting for the detailed PHP 7 Make post
 04. Also we have to decide about potentially updating existing code to use
 ??. For example, there are differing opinions on the ticket.

 Cheers!

 Props to @costdev & @mukesh27

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


More information about the wp-trac mailing list