Make WordPress Core

Ticket #55364: 55364.2.diff

File 55364.2.diff, 3.4 KB (added by afercia, 19 months ago)
  • src/wp-admin/css/list-tables.css

     
    914914}
    915915
    916916.inline-edit-row .submit {
     917        display: flex;
     918        flex-wrap: wrap;
     919        align-items: center;
    917920        clear: both;
    918921        padding: 0.5em;
    919922        margin: 0.5em 0 0;
    920923}
    921924
     925.inline-edit-save.submit .button {
     926        margin-right: 8px;
     927}
     928
     929.inline-edit-save .spinner {
     930        float: none;
     931        margin: 0;
     932}
     933
    922934.inline-edit-row .notice-error {
     935        box-sizing: border-box;
     936        min-width: 100%;
    923937        margin-top: 1em;
    924938}
    925939
  • src/wp-admin/includes/class-wp-posts-list-table.php

     
    20082008                        ?>
    20092009
    20102010                        <div class="submit inline-edit-save">
    2011                                 <button type="button" class="button cancel alignleft"><?php _e( 'Cancel' ); ?></button>
    2012 
    20132011                                <?php if ( ! $bulk ) : ?>
    20142012                                        <?php wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); ?>
    2015                                         <button type="button" class="button button-primary save alignright"><?php _e( 'Update' ); ?></button>
    2016                                         <span class="spinner"></span>
     2013                                        <button type="button" class="button button-primary save"><?php _e( 'Update' ); ?></button>
    20172014                                <?php else : ?>
    2018                                         <?php submit_button( __( 'Update' ), 'primary alignright', 'bulk_edit', false ); ?>
     2015                                        <?php submit_button( __( 'Update' ), 'primary', 'bulk_edit', false ); ?>
    20192016                                <?php endif; ?>
    20202017
     2018                                <button type="button" class="button cancel"><?php _e( 'Cancel' ); ?></button>
     2019
     2020                                <?php if ( ! $bulk ) : ?>
     2021                                        <span class="spinner"></span>
     2022                                <?php endif; ?>
     2023
    20212024                                <input type="hidden" name="post_view" value="<?php echo esc_attr( $m ); ?>" />
    20222025                                <input type="hidden" name="screen" value="<?php echo esc_attr( $screen->id ); ?>" />
    20232026                                <?php if ( ! $bulk && ! post_type_supports( $screen->post_type, 'author' ) ) : ?>
    20242027                                        <input type="hidden" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" />
    20252028                                <?php endif; ?>
    2026                                 <br class="clear" />
    20272029
    20282030                                <div class="notice notice-error notice-alt inline hidden">
    20292031                                        <p class="error"></p>
  • src/wp-admin/includes/class-wp-terms-list-table.php

     
    696696                        ?>
    697697
    698698                        <div class="inline-edit-save submit">
    699                                 <button type="button" class="cancel button alignleft"><?php _e( 'Cancel' ); ?></button>
    700                                 <button type="button" class="save button button-primary alignright"><?php echo $tax->labels->update_item; ?></button>
     699                                <button type="button" class="save button button-primary"><?php echo $tax->labels->update_item; ?></button>
     700                                <button type="button" class="cancel button"><?php _e( 'Cancel' ); ?></button>
    701701                                <span class="spinner"></span>
    702702
    703703                                <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
    704704                                <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" />
    705705                                <input type="hidden" name="post_type" value="<?php echo esc_attr( $this->screen->post_type ); ?>" />
    706                                 <br class="clear" />
    707706
    708707                                <div class="notice notice-error notice-alt inline hidden">
    709708                                        <p class="error"></p>