[wp-trac] [WordPress Trac] #38918: delete_plugins() needs a proper singular and plural form for its error message

WordPress Trac noreply at wordpress.org
Wed Nov 23 19:07:41 UTC 2016


#38918: delete_plugins() needs a proper singular and plural form for its error
message
----------------------------+----------------------------------------
 Reporter:  johnbillion     |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:  2.6
 Severity:  normal          |   Keywords:  needs-patch good-first-bug
  Focuses:  administration  |
----------------------------+----------------------------------------
 The `delete_plugins()` function uses the following string as an error
 message:

 `Could not fully remove the plugin(s) %s.`

 This would be better if it used `_n()` and provided a proper singular and
 plural form based on the number of errors.

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


More information about the wp-trac mailing list