Opened 6 weeks ago
Last modified 5 weeks ago
#64843 new enhancement
Make plugin name bold in update notice on Plugins page
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | minor | Version: | |
| Component: | Plugins | Keywords: | has-patch 2nd-opinion |
| Focuses: | Cc: |
Description
On the Plugins admin screen (wp-admin/plugins.php), when a plugin update is available, WordPress displays an update notice below the plugin row.
Currently, the plugin name inside the update message is not visually emphasized. Making the plugin name bold would improve readability and help users quickly identify which plugin the update notice refers to.
Example current notice:
There is a new version of MailerPress available. View version 1.5.1 details or update now.
Suggested improvement:
There is a new version of MailerPress available. View version 1.5.1 details or update now.
This small UI improvement would make the plugin name stand out and improve clarity when multiple plugins have updates available.
Steps to Reproduce
- Install a plugin from the WordPress Plugin Directory.
- Wait until an update is available.
- Go to Dashboard → Plugins.
- Observe the update notice displayed under the plugin row.
Expected Behavior
The plugin name in the update notice should be displayed in bold text for better visibility.
Actual Behavior
The plugin name appears as normal text, making it less distinguishable within the sentence.
Proposed Solution
Wrap the plugin name in a <strong> tag in the update notice markup.
Example:
There is a new version of <strong>Plugin Name</strong> available.
Attachments (3)
Change History (12)
#2
@
6 weeks ago
Hello,
I have attached a patch to improve the readability of the plugin update notice displayed on the Plugins admin page (wp-admin/plugins.php).
Currently, when an update is available, the notice appears like this:
There is a new version of MailerPress available. View version 1.5.1 details or update now.
In this message, the plugin name is not visually emphasized, which can make it slightly harder to quickly identify the plugin when multiple updates are listed.
Proposed Improvement
This patch wraps the plugin name in a <strong> tag so it appears bold, improving visibility and consistency with other admin UI emphasis patterns.
Example after change:
There is a new version of MailerPress available. View version 1.5.1 details or update now.
Benefits
Improves readability in the Plugins list.
Makes the plugin name easier to identify.
Small UI enhancement with no functional impact.
Testing
Install a plugin with an available update.
Go to Dashboard → Plugins.
Observe the update notice below the plugin row.
After applying the patch, the plugin name appears in bold.
Patch
Patch attached with this comment.
Thank you for reviewing this enhancement.
#3
@
6 weeks ago
After Screenshot:: https://prnt.sc/28FIKLDhP8tN
#4
follow-up:
↓ 5
@
5 weeks ago
- Keywords 2nd-opinion added
- Type changed from defect (bug) to enhancement
- Version 6.9.1 deleted
Thanks for the ticket. However, I don't think this is necessary. The notice is already inline with the plugin row it is related to.
#5
in reply to:
↑ 4
@
5 weeks ago
Replying to westonruter:
Thanks for the ticket. However, I don't think this is necessary. The notice is already inline with the plugin row it is related to.
I think the main benefit here is to make the sentence more readable rather than to emphasize the plugin name. Some plugins have really long, ugly names that make it difficult to tell where the plugin name actually ends.
@
5 weeks ago
Is that sentence easy to read? Also no. But it is a bit easier to tell where the plugin name ends.
#6
@
5 weeks ago
Thanks for the feedback.
I understand that the notice is already visible in the plugin row when the row is relaxed. My intention with this patch was mainly to improve readability and consistency with other admin notices where important information is emphasized.
In cases where multiple plugins have update notices, the plugin name can sometimes blend into the sentence, making it slightly harder to quickly identify which plugin the message refers to. Wrapping the plugin name in a <strong> tag was intended as a small UI enhancement without changing functionality.
Thank you for taking the time to review the ticket.
#7
@
5 weeks ago
- Severity changed from normal to minor
Unless translators should decide whether the new (<strong>) tags are appropriate in their language, I would not add the HTML within the translatable strings.
I also noticed:
- The plugin name allows some HTML, which would be escaped in the ARIA label. The HTML could be removed before adding the name to an attribute.
- The visible version number uses the wrong escaping function.
This ticket was mentioned in PR #11251 on WordPress/wordpress-develop by @sabernhardt.
5 weeks ago
#8
- Adds
strongtags in a new$plugin_display_namevariable. - Strips HTML from the
$plugin_namevariable before using it in thearia-label. - Switches
esc_attr()toesc_html()for the visiblenew_versiontext.
Use of AI Tools: none
patch file