mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Aaron Jorbin
6604782cd9
General: PHP7.3 throws an
E_WARNING
when using continue to target a switch
Applying continue to a switch is equivalent to using break and quite possibly, a continue targeting a higher level control structure is actually intended. To target the higher level control structure, a numeric argument has to be passed to continue. This fixes two cases in WordPress Core where this is currently happening. See: https://github.com/php/php-src/pull/3364 See: https://wiki.php.net/rfc/continue_on_switch_deprecation Props jrf. Fixes #44543. git-svn-id: https://develop.svn.wordpress.org/trunk@43653 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.2%
SCSS
0.8%
HTML
0.7%