[wp-trac] [WordPress Trac] #50913: PHP 8.0: various compatibility fixes

WordPress Trac noreply at wordpress.org
Wed Sep 9 04:24:54 UTC 2020


#50913: PHP 8.0: various compatibility fixes
----------------------------+-------------------------------
 Reporter:  jrf             |       Owner:  SergeyBiryukov
     Type:  task (blessed)  |      Status:  reviewing
 Priority:  normal          |   Milestone:  5.6
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by jrf):

 @SergeyBiryukov [48961] should be considered a BC-break and will need a
 dev-note. Chances are there will be a plugin/theme out there which is
 relying on the reference for non-object passed parameters. While that will
 realistically only come into play if the variable they passed to
 `get_comment()` would be regarded as "empty", the fact that the variable
 will now no longer automatically be filled is a BC-break.

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


More information about the wp-trac mailing list