Make WordPress Core


Ignore:
Timestamp:
10/02/2017 09:51:09 PM (7 years ago)
Author:
afercia
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r41683 r41684  
    17381738        }
    17391739    ?>
    1740         <p class="submit inline-edit-save">
     1740        <div class="submit inline-edit-save">
    17411741            <button type="button" class="button cancel alignleft"><?php _e( 'Cancel' ); ?></button>
    17421742            <?php if ( ! $bulk ) {
     
    17531753                <input type="hidden" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" />
    17541754            <?php } ?>
    1755             <span class="error" style="display:none"></span>
    17561755            <br class="clear" />
    1757         </p>
     1756            <div class="notice notice-error notice-alt inline hidden">
     1757                <p class="error"></p>
     1758            </div>
     1759        </div>
    17581760        </td></tr>
    17591761    <?php
Note: See TracChangeset for help on using the changeset viewer.