[wp-trac] [WordPress Trac] #44944: Possibly incorrect use of "continue" in wp-includeds/pomo/plural-forms.php

WordPress Trac noreply at wordpress.org
Fri Sep 14 09:36:43 UTC 2018


#44944: Possibly incorrect use of "continue" in wp-includeds/pomo/plural-forms.php
--------------------------+-----------------------------
 Reporter:  tobifjellner  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44944>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list