Opened 6 years ago
Closed 6 years ago
#50405 closed defect (bug) (fixed)
Auto-update errors are not displayed on the Themes screen
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.5 | Priority: | normal |
| Severity: | normal | Version: | 5.5 |
| Component: | Administration | Keywords: | has-patch |
| Focuses: | Cc: |
Description
The js expects an element with class="notice error" that doesn't exist in the theme overlay.
Attachments (5)
Change History (9)
#2
@
6 years ago
Good catch. Also, I think the correct usage of the class names for the admin notices is by "stacking" them e.g. notice notice-error. The class error is legacy and should not be used.
I think there's one more occurrence to adjust in WP_MS_Themes_List_Table.
Also, if I'm not wrong, these error notices may appear on a white background (depending on which row of the zebra-striped table) so I'd propose to consider the additional notice-alt class. See screenshot below (white notice on white background).
#3
@
6 years ago
The class error is legacy and should not be used.
Right.
there's one more occurrence to adjust
Yes, fixed.
these error notices may appear on a white background (depending on which row of the zebra-striped table) so I'd propose to consider the additional notice-alt class.
Yes, sounds good.
In 50405.1.diff:
- Use the
notice notice-error notice-alt inlineclasses for the error notices and adjust the js to match. - Refresh the fix for displaying of error notices on the Themes screen after [48077].
50405.diff seems to fix this but overlaps with #50280. Will refresh after 50280 is done.