Ticket #55364: 55364.diff
File 55364.diff, 2.2 KB (added by , 3 years ago) |
---|
-
src/wp-admin/css/list-tables.css
897 897 } 898 898 899 899 .inline-edit-row .submit { 900 display: flex; 901 flex-wrap: wrap; 902 align-items: center; 900 903 clear: both; 901 904 padding: 0.5em; 902 905 margin: 0.5em 0 0; 903 906 } 904 907 908 .inline-edit-save.submit .button { 909 margin-right: 8px; 910 } 911 912 .inline-edit-save .spinner { 913 float: none; 914 margin: 0; 915 } 916 905 917 .inline-edit-row .notice-error { 918 box-sizing: border-box; 919 min-width: 100%; 906 920 margin-top: 1em; 907 921 } 908 922 -
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>