Plugins and Themes Auto-Updates:

- Fix displaying of errors on the Themes screen.
- Correct the classes used for the error messages, and use `notice-alt` as notices are mostly shown on a white background.

Props afercia, azaozz.
Fixes #50405.

git-svn-id: https://develop.svn.wordpress.org/trunk@48092 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2020-06-19 16:49:58 +00:00
parent 65bc801eba
commit 52ce85d0a5
4 changed files with 8 additions and 8 deletions
@@ -1096,7 +1096,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
*/
echo apply_filters( 'plugin_auto_update_setting_html', $html, $plugin_file, $plugin_data );
echo '<div class="inline notice error hidden"><p></p></div>';
echo '<div class="notice notice-error notice-alt inline hidden"><p></p></div>';
echo '</td>';
break;