Ticket #27314: 27314-2.patch
File 27314-2.patch, 10.5 KB (added by , 9 years ago) |
---|
-
src/wp-admin/customize.php
148 148 </div> 149 149 150 150 <div id="customize-footer-actions" class="wp-full-overlay-footer"> 151 <button type="button" class="collapse-sidebar button -secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">151 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>"> 152 152 <span class="collapse-sidebar-arrow"></span> 153 153 <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span> 154 154 </button> -
src/wp-admin/includes/class-wp-posts-list-table.php
1636 1636 } 1637 1637 ?> 1638 1638 <p class="submit inline-edit-save"> 1639 <button type="button" class="button -secondarycancel alignleft"><?php _e( 'Cancel' ); ?></button>1639 <button type="button" class="button cancel alignleft"><?php _e( 'Cancel' ); ?></button> 1640 1640 <?php if ( ! $bulk ) { 1641 1641 wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); 1642 1642 ?> 1643 <button type="button" class="button -primary save alignright"><?php _e( 'Update' ); ?></button>1643 <button type="button" class="button button-primary save alignright"><?php _e( 'Update' ); ?></button> 1644 1644 <span class="spinner"></span> 1645 1645 <?php } else { 1646 submit_button( __( 'Update' ), ' button-primary alignright', 'bulk_edit', false );1646 submit_button( __( 'Update' ), 'primary alignright', 'bulk_edit', false ); 1647 1647 } ?> 1648 1648 <input type="hidden" name="post_view" value="<?php echo esc_attr( $m ); ?>" /> 1649 1649 <input type="hidden" name="screen" value="<?php echo esc_attr( $screen->id ); ?>" /> -
src/wp-admin/includes/class-wp-terms-list-table.php
588 588 ?> 589 589 590 590 <p class="inline-edit-save submit"> 591 <button type="button" class="cancel button -secondaryalignleft"><?php _e( 'Cancel' ); ?></button>592 <button type="button" class="save button -primary alignright"><?php echo $tax->labels->update_item; ?></button>591 <button type="button" class="cancel button alignleft"><?php _e( 'Cancel' ); ?></button> 592 <button type="button" class="save button button-primary alignright"><?php echo $tax->labels->update_item; ?></button> 593 593 <span class="spinner"></span> 594 594 <span class="error" style="display:none;"></span> 595 595 <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?> -
src/wp-admin/includes/class-wp-theme-install-list-table.php
329 329 <div id="theme-installer" class="wp-full-overlay expanded"> 330 330 <div class="wp-full-overlay-sidebar"> 331 331 <div class="wp-full-overlay-header"> 332 <a href="#" class="close-full-overlay button -secondary"><?php _e( 'Close' ); ?></a>332 <a href="#" class="close-full-overlay button"><?php _e( 'Close' ); ?></a> 333 333 <span class="theme-install"></span> 334 334 </div> 335 335 <div class="wp-full-overlay-sidebar-content"> … … 336 336 <div class="install-theme-info"></div> 337 337 </div> 338 338 <div class="wp-full-overlay-footer"> 339 <button type="button" class="collapse-sidebar button -secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">339 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>"> 340 340 <span class="collapse-sidebar-arrow"></span> 341 341 <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span> 342 342 </button> … … 398 398 <div class="install-theme-info"><?php 399 399 switch ( $status ) { 400 400 case 'update_available': 401 echo '<a class="theme-install button -primary" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>';401 echo '<a class="theme-install button button-primary" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>'; 402 402 break; 403 403 case 'newer_installed': 404 404 case 'latest_installed': … … 406 406 break; 407 407 case 'install': 408 408 default: 409 echo '<a class="theme-install button -primary" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '">' . __( 'Install' ) . '</a>';409 echo '<a class="theme-install button button-primary" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '">' . __( 'Install' ) . '</a>'; 410 410 break; 411 411 } ?> 412 412 <h3 class="theme-name"><?php echo $name; ?></h3> -
src/wp-admin/includes/meta-boxes.php
263 263 if ( $can_publish ) : 264 264 if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> 265 265 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" /> 266 <?php submit_button( __( 'Schedule' ), 'primary button-large', 'publish', false ); ?>266 <?php submit_button( __( 'Schedule' ), 'primary large', 'publish', false ); ?> 267 267 <?php else : ?> 268 268 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" /> 269 <?php submit_button( __( 'Publish' ), 'primary button-large', 'publish', false ); ?>269 <?php submit_button( __( 'Publish' ), 'primary large', 'publish', false ); ?> 270 270 <?php endif; 271 271 else : ?> 272 272 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Submit for Review') ?>" /> 273 <?php submit_button( __( 'Submit for Review' ), 'primary button-large', 'publish', false ); ?>273 <?php submit_button( __( 'Submit for Review' ), 'primary large', 'publish', false ); ?> 274 274 <?php 275 275 endif; 276 276 } else { ?> 277 277 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Update') ?>" /> 278 <input name="save" type="submit" class="button button-primary button-large" id="publish" value="<?php esc_attr_e( 'Update' ) ?>" />278 <input name="save" type="submit" class="button button-primary large" id="publish" value="<?php esc_attr_e( 'Update' ) ?>" /> 279 279 <?php 280 280 } ?> 281 281 </div> … … 891 891 892 892 <div id="publishing-action"> 893 893 <?php if ( !empty($link->link_id) ) { ?> 894 <input name="save" type="submit" class="button -large button-primary" id="publish" value="<?php esc_attr_e( 'Update Link' ) ?>" />894 <input name="save" type="submit" class="button large button-primary" id="publish" value="<?php esc_attr_e( 'Update Link' ) ?>" /> 895 895 <?php } else { ?> 896 <input name="save" type="submit" class="button -large button-primary" id="publish" value="<?php esc_attr_e( 'Add Link' ) ?>" />896 <input name="save" type="submit" class="button large button-primary" id="publish" value="<?php esc_attr_e( 'Add Link' ) ?>" /> 897 897 <?php } ?> 898 898 </div> 899 899 <div class="clear"></div> -
src/wp-admin/js/customize-widgets.js
832 832 $saveBtn = this.container.find( '.widget-control-save' ); 833 833 $saveBtn.val( l10n.saveBtnLabel ); 834 834 $saveBtn.attr( 'title', l10n.saveBtnTooltip ); 835 $saveBtn.removeClass( 'button-primary' ) .addClass( 'button-secondary' );835 $saveBtn.removeClass( 'button-primary' ); 836 836 $saveBtn.on( 'click', function( e ) { 837 837 e.preventDefault(); 838 838 self.updateWidget( { disable_form: true } ); // @todo disable_form is unused? -
src/wp-admin/nav-menus.php
707 707 </option> 708 708 <?php endforeach; ?> 709 709 </select> 710 <span class="submit-btn"><input type="submit" class="button -secondary" value="<?php esc_attr_e( 'Select' ); ?>"></span>710 <span class="submit-btn"><input type="submit" class="button" value="<?php esc_attr_e( 'Select' ); ?>"></span> 711 711 <span class="add-new-menu-action"> 712 712 <?php printf( __( 'or <a href="%s">create a new menu</a>.' ), esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => 0 ), admin_url( 'nav-menus.php' ) ) ) ); ?> 713 713 </span><!-- /add-new-menu-action --> … … 748 748 <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox input-with-default-title" title="<?php esc_attr_e( 'Enter menu name here' ); ?>" value="<?php if ( $one_theme_location_no_menus ) _e( 'Menu 1' ); else echo esc_attr( $nav_menu_selected_title ); ?>" /> 749 749 </label> 750 750 <div class="publishing-action"> 751 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), ' button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?>751 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?> 752 752 </div><!-- END .publishing-action --> 753 753 </div><!-- END .major-publishing-actions --> 754 754 </div><!-- END .nav-menu-header --> … … 825 825 </span><!-- END .delete-action --> 826 826 <?php endif; ?> 827 827 <div class="publishing-action"> 828 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), ' button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) ); ?>828 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) ); ?> 829 829 </div><!-- END .publishing-action --> 830 830 </div><!-- END .major-publishing-actions --> 831 831 </div><!-- /#nav-menu-footer -->