Ticket #55364: 55364.2.diff
File 55364.2.diff, 3.4 KB (added by , 19 months ago) |
---|
-
src/wp-admin/css/list-tables.css
914 914 } 915 915 916 916 .inline-edit-row .submit { 917 display: flex; 918 flex-wrap: wrap; 919 align-items: center; 917 920 clear: both; 918 921 padding: 0.5em; 919 922 margin: 0.5em 0 0; 920 923 } 921 924 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 922 934 .inline-edit-row .notice-error { 935 box-sizing: border-box; 936 min-width: 100%; 923 937 margin-top: 1em; 924 938 } 925 939 -
src/wp-admin/includes/class-wp-posts-list-table.php
2008 2008 ?> 2009 2009 2010 2010 <div class="submit inline-edit-save"> 2011 <button type="button" class="button cancel alignleft"><?php _e( 'Cancel' ); ?></button>2012 2013 2011 <?php if ( ! $bulk ) : ?> 2014 2012 <?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> 2017 2014 <?php else : ?> 2018 <?php submit_button( __( 'Update' ), 'primary alignright', 'bulk_edit', false ); ?>2015 <?php submit_button( __( 'Update' ), 'primary', 'bulk_edit', false ); ?> 2019 2016 <?php endif; ?> 2020 2017 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 2021 2024 <input type="hidden" name="post_view" value="<?php echo esc_attr( $m ); ?>" /> 2022 2025 <input type="hidden" name="screen" value="<?php echo esc_attr( $screen->id ); ?>" /> 2023 2026 <?php if ( ! $bulk && ! post_type_supports( $screen->post_type, 'author' ) ) : ?> 2024 2027 <input type="hidden" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" /> 2025 2028 <?php endif; ?> 2026 <br class="clear" />2027 2029 2028 2030 <div class="notice notice-error notice-alt inline hidden"> 2029 2031 <p class="error"></p> -
src/wp-admin/includes/class-wp-terms-list-table.php
696 696 ?> 697 697 698 698 <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> 701 701 <span class="spinner"></span> 702 702 703 703 <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?> 704 704 <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" /> 705 705 <input type="hidden" name="post_type" value="<?php echo esc_attr( $this->screen->post_type ); ?>" /> 706 <br class="clear" />707 706 708 707 <div class="notice notice-error notice-alt inline hidden"> 709 708 <p class="error"></p>