Opened 3 years ago
Closed 3 months ago
#48871 closed defect (bug) (invalid)
i18n: WordPress update string
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-screenshots has-patch close |
Focuses: | administration | Cc: |
Attachments (4)
Change History (9)
This ticket was mentioned in Slack in #core-i18n by ramiy. View the logs.
3 years ago
#5
@
3 months ago
- Keywords 2nd-opinion removed
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from assigned to closed
Hello @ramiy,
Welcome to WordPress Core's Trac. Thank you for the ticket and suggestion.
These strings are for debugging and geekery
, i.e. WP_Automatic_Updater::send_debug_email()
. The design is intentional to help in the debug process.
I agree with @SergeyBiryukov's assessment.
I'll close this ticket. Please feel free to reopen to continue the discussion.
Note: See
TracTickets for help on using
tickets.
Thanks for the ticket!
As seen in class-wp-automatic-updater.php, here's the list of the affected strings:
SUCCESS: WordPress was successfully updated to %s
FAILED: WordPress failed to update to %s
SUCCESS:
prefix:The following plugins were successfully updated:
The following themes were successfully updated:
The following translations were successfully updated:
FAILED:
prefix:The following plugins failed to update:
The following themes failed to update:
The following translations failed to update:
While we don't generally include the
SUCCESS:
orFAILED:
prefix in strings displayed in the UI, I think these strings fromWP_Automatic_Updater::send_debug_email()
are different in that they're used in debugging emails for easier scanning, to take a quick look (or maybe set up alert notifications) if there are any failures.I don't see any benefit in removing these prefixes. We could probably remove the prefix from the first two strings and re-add it with
sprintf()
, same as for plugin and theme notifications, but I don't see what problem would that solve either.