#33239 closed defect (bug) (fixed)
Missing singular for deleting plugins
Reported by: | pavelevap | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | needs-patch |
Focuses: | Cc: |
Description
The selected plugins have been <strong>deleted</strong>.
We should have singular and plural forms for this string. When you delete only one plugins (by clicking on delete link) you will get plural notice. One user showed me this string and told me he was afraid of what was really deleted :-) He deleted only one plugin, but WordPress told him, that plugins were deleted...
Attachments (2)
Change History (15)
#1
@
9 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
- Version trunk deleted
#3
@
9 years ago
- Milestone changed from Future Release to 4.4
- Owner set to johnbillion
- Status changed from new to reviewing
#4
@
9 years ago
- Owner changed from johnbillion to wonderboymusic
- Status changed from reviewing to accepted
#6
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
We are not using _n()
in similar strings, when count is not part of the string, see example:
Plugin <strong>activated</strong>.
Selected plugins <strong>activated</strong>.
Also wording should respect the current pattern...
#7
@
9 years ago
- Keywords needs-patch added; has-patch needs-testing removed
- Type changed from enhancement to defect (bug)
#9
@
9 years ago
@ocean90: Strings should respect current pattern for all others, for example "activated", "deactivated", etc? So, something like this:
Plugin <strong>deleted</strong>.
Selected plugins <strong>deleted</strong>.
#10
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This has introduced a PHP notice after deleting a plugin and being redirected to example.com/wp-admin/network/plugins.php?deleted=1
:
Notice: Undefined variable: plugins_to_delete in ~/wp-admin/plugins.php on line 473
#11
@
9 years ago
- Owner changed from wonderboymusic to ocean90
- Status changed from reopened to assigned
33239.1.patch