[wp-trac] [WordPress Trac] #42355: Missing plural forms in "unexpected output" string

WordPress Trac noreply at wordpress.org
Tue Oct 2 19:29:21 UTC 2018


#42355: Missing plural forms in "unexpected output" string
----------------------------+---------------------
 Reporter:  SergeyBiryukov  |       Owner:  pento
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.0
Component:  I18N            |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43667" 43667]:
 {{{
 #!CommitTicketReference repository="" revision="43667"
 Plugins: Pluralise the "unexpected output during activation" message.

 When a plugin is activated, it can trigger a warning message if it outputs
 data at that time. This error message was being run through `__()`,
 instead of `_n()`, so it wasn't possible to correctly pluralise the
 message.

 Props jamosova.
 Fixes #42355.
 }}}

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


More information about the wp-trac mailing list