#44944 closed defect (bug) (duplicate)
Possibly incorrect use of "continue" in wp-includeds/pomo/plural-forms.php
| Reported by: | tobifjellner | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | php73 |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is due to PHP 7.3 deprecating this approach. Attaching a patch for this one and one more use in phpunit utils.php.