[wp-trac] [WordPress Trac] #49922: PHP Compatibility fixes for 5.5

WordPress Trac noreply at wordpress.org
Fri May 1 19:05:18 UTC 2020


#49922: PHP Compatibility fixes for 5.5
-------------------------------------+-------------------------------
 Reporter:  desrosj                  |       Owner:  desrosj
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.5
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  coding-standards
-------------------------------------+-------------------------------

Comment (by desrosj):

 In [changeset:"47735" 47735]:
 {{{
 #!CommitTicketReference repository="" revision="47735"
 General: Fix various issues flagged by the PHPCompatibilityWP PHPCS
 ruleset.

 As part of the continued effort to improve PHP compatibility, the
 following improvments are being made:

 - Removing deprecated PHP `safe_mode` checks not found in bundled external
 libraries.
 - Change the remaining `while` loops using `each()` to `foreach` loops.
 - Prevent false positives from being flagged for the `sodium_compat`
 library being caused by loading this in a non-standard way.
 - Add inline comments to not flag deprecated PHP directives in the getID3
 library.

 Props desrosj, earnjam, dryanpress.
 See #49922.
 }}}

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


More information about the wp-trac mailing list