Changeset 48092
- Timestamp:
- 06/19/2020 04:49:58 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
-
js/_enqueues/wp/updates.js (modified) (3 diffs)
-
wp-admin/includes/class-wp-ms-themes-list-table.php (modified) (1 diff)
-
wp-admin/includes/class-wp-plugins-list-table.php (modified) (1 diff)
-
wp-admin/themes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/updates.js
r47894 r48092 2720 2720 2721 2721 // Clear any previous errors. 2722 $parent.find( '.notice. error' ).addClass( 'hidden' );2722 $parent.find( '.notice.notice-error' ).addClass( 'hidden' ); 2723 2723 2724 2724 // Show loading status. … … 2753 2753 } 2754 2754 2755 $parent.find( '.notice. error' ).removeClass( 'hidden' ).find( 'p' ).text( errorMessage );2755 $parent.find( '.notice.notice-error' ).removeClass( 'hidden' ).find( 'p' ).text( errorMessage ); 2756 2756 wp.a11y.speak( errorMessage, 'polite' ); 2757 2757 return; … … 2809 2809 } ) 2810 2810 .fail( function() { 2811 $parent.find( '.notice. error' )2811 $parent.find( '.notice.notice-error' ) 2812 2812 .removeClass( 'hidden' ) 2813 2813 .find( 'p' ) -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r48077 r48092 776 776 echo apply_filters( 'theme_auto_update_setting_html', $html, $stylesheet, $theme ); 777 777 778 echo '<div class=" auto-updates-error inline notice errorhidden"><p></p></div>';778 echo '<div class="notice notice-error notice-alt inline hidden"><p></p></div>'; 779 779 } 780 780 -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r48078 r48092 1097 1097 echo apply_filters( 'plugin_auto_update_setting_html', $html, $plugin_file, $plugin_data ); 1098 1098 1099 echo '<div class=" inline notice errorhidden"><p></p></div>';1099 echo '<div class="notice notice-error notice-alt inline hidden"><p></p></div>'; 1100 1100 echo '</td>'; 1101 1101 -
trunk/src/wp-admin/themes.php
r48077 r48092 560 560 function wp_theme_auto_update_setting_template() { 561 561 $template = ' 562 < pclass="theme-autoupdate">562 <div class="theme-autoupdate"> 563 563 <# if ( data.autoupdate ) { #> 564 564 <a href="{{{ data.actions.autoupdate }}}" class="toggle-auto-update" data-slug="{{ data.id }}" data-wp-action="disable"> … … 580 580 <br />' . wp_get_auto_update_message() . '</span> 581 581 <# } #> 582 < span class="auto-updates-error hidden"><p></p></span>583 </ p>582 <div class="notice notice-error notice-alt inline hidden"><p></p></div> 583 </div> 584 584 '; 585 585
Note: See TracChangeset
for help on using the changeset viewer.