Quick/Bulk Edit: Improve the inline error messages styling.
- uses the core `notice` styles for the Quick Edit form inline error messages - adds missing periods at the end of a few error messages Props ocean90, karmatosed, melchoyce, afercia. Fixes #35496. Built from https://develop.svn.wordpress.org/trunk@41684 git-svn-id: http://core.svn.wordpress.org/trunk@41518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1737,7 +1737,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
}
|
||||
?>
|
||||
<p class="submit inline-edit-save">
|
||||
<div class="submit inline-edit-save">
|
||||
<button type="button" class="button cancel alignleft"><?php _e( 'Cancel' ); ?></button>
|
||||
<?php if ( ! $bulk ) {
|
||||
wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
|
||||
@@ -1752,9 +1752,11 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
<?php if ( ! $bulk && ! post_type_supports( $screen->post_type, 'author' ) ) { ?>
|
||||
<input type="hidden" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" />
|
||||
<?php } ?>
|
||||
<span class="error" style="display:none"></span>
|
||||
<br class="clear" />
|
||||
</p>
|
||||
<div class="notice notice-error notice-alt inline hidden">
|
||||
<p class="error"></p>
|
||||
</div>
|
||||
</div>
|
||||
</td></tr>
|
||||
<?php
|
||||
$bulk++;
|
||||
|
||||
Reference in New Issue
Block a user