#44944 closed defect (bug) (duplicate)
Possibly incorrect use of "continue" in wp-includeds/pomo/plural-forms.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | php73 |
Focuses: | Cc: |
Description
It seems as if wp-includeds/pomo/plural-forms.php uses a "stray" continue
in line 210. This causes a warning to appear on some sites:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [REDACTED]/wp-includes/pomo/plural-forms.php on line 210
Initial report (in Swedish): @rdcsg in https://sv.wordpress.org/support/topic/konstigt-felmeddelande-dyker-upp-pa-sajten-sen-dagar-tillbaka/
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
This is due to PHP 7.3 deprecating this approach. Attaching a patch for this one and one more use in phpunit utils.php.