Make WordPress Core


Ignore:
Timestamp:
10/02/2017 09:51:09 PM (8 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-terms-list-table.php

    r41161 r41684  
    617617    ?>
    618618
    619         <p class="inline-edit-save submit">
     619        <div class="inline-edit-save submit">
    620620            <button type="button" class="cancel button alignleft"><?php _e( 'Cancel' ); ?></button>
    621621            <button type="button" class="save button button-primary alignright"><?php echo $tax->labels->update_item; ?></button>
    622622            <span class="spinner"></span>
    623             <span class="error" style="display:none;"></span>
    624623            <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
    625624            <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" />
    626625            <input type="hidden" name="post_type" value="<?php echo esc_attr( $this->screen->post_type ); ?>" />
    627626            <br class="clear" />
    628         </p>
     627            <div class="notice notice-error notice-alt inline hidden">
     628                <p class="error"></p>
     629            </div>
     630        </div>
    629631        </td></tr>
    630632        </tbody></table></form>
Note: See TracChangeset for help on using the changeset viewer.