Opened 5 weeks ago
Closed 8 days ago
#66296 closed defect (bug) (fixed)
Remove the `hide-if-js` notice from `wp_dashboard_cached_rss_widget()`
| Reported by: | joedolson | Owned by: | peterwilsoncc |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | javascript, administration |
Description
As observed by @afercia in https://core.trac.wordpress.org/ticket/50486#comment:85, the admin notice in wp_dashboard_cached_rss_widget() is hidden if JS is enabled, but the container it's wrapped in carries the class hide-if-no-js. Given that, there is no situation in which the admin notice will actually be shown.
With JS, the notice is hidden; without JS the entire widget is hidden.
Change History (3)
This ticket was mentioned in PR #14226 on WordPress/wordpress-develop by @rishabhwp.
5 weeks ago
#1
- Keywords has-patch added
Note:
See TracTickets
for help on using tickets.
Removes the "This widget requires JavaScript." notice from
wp_dashboard_cached_rss_widget(). Nobody can see it.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5, Claude Sonnet 5.5
Used for: Code Review