Ticket #32017: 32017.4.patch
File 32017.4.patch, 5.8 KB (added by , 5 years ago) |
---|
-
src/js/_enqueues/admin/postbox.js
99 99 * @return {void} 100 100 */ 101 101 add_postbox_toggles : function (page, args) { 102 var $handles = $( '.postbox .hndle, .postbox .handle div' );102 var $handles = $( '.postbox .hndle, .postbox .handle, .postbox .handlediv' ); 103 103 104 104 this.page = page; 105 105 this.init( page, args ); … … 109 109 /** 110 110 * @since 2.7.0 111 111 */ 112 $('.postbox .hndle a ').click( function(e) {112 $('.postbox .hndle a, .postbox .handle a').click( function(e) { 113 113 e.stopPropagation(); 114 114 }); 115 115 … … 210 210 placeholder: 'sortable-placeholder', 211 211 connectWith: '.meta-box-sortables', 212 212 items: '.postbox', 213 handle: '.hndle ',213 handle: '.hndle, .handle', 214 214 cursor: 'move', 215 215 delay: ( isMobile ? 200 : 0 ), 216 216 distance: 2, -
src/wp-admin/css/common.css
755 755 .widget .widget-top, 756 756 .postbox .hndle, 757 757 .stuffbox .hndle, 758 .postbox .handle, 759 .stuffbox .handle, 758 760 .control-section .accordion-section-title, 759 761 .sidebar-name, 760 762 #nav-menu-header, … … 777 779 } 778 780 779 781 .postbox .hndle, 780 .stuffbox .hndle { 782 .stuffbox .hndle, 783 .postbox .handle, 784 .stuffbox .handle { 781 785 border-bottom: 1px solid #ccd0d4; 782 786 } 783 787 … … 2043 2047 } 2044 2048 2045 2049 .js .widget .widget-top, 2046 .js .postbox .hndle { 2050 .js .postbox .hndle, 2051 .js .postbox .handle { 2047 2052 cursor: move; 2048 2053 } 2049 2054 2050 2055 .js .widget .widget-top.is-non-sortable, 2051 .js .postbox .hndle.is-non-sortable { 2056 .js .postbox .hndle.is-non-sortable, 2057 .js .postbox .handle.is-non-sortable { 2052 2058 cursor: auto; 2053 2059 } 2054 2060 2055 .hndle a { 2061 .hndle a, 2062 .handle a { 2056 2063 font-size: 11px; 2057 2064 font-weight: 400; 2058 2065 } … … 2087 2094 2088 2095 /* user-select is not a part of the CSS standard - may change behavior in the future */ 2089 2096 .postbox .hndle, 2090 .stuffbox .hndle { 2097 .stuffbox .hndle, 2098 .postbox .handle, 2099 .stuffbox .handle { 2091 2100 -webkit-user-select: none; 2092 2101 -moz-user-select: none; 2093 2102 -ms-user-select: none; … … 2293 2302 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 2294 2303 .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ 2295 2304 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 2296 .metabox-holder h2.hndle { 2305 .metabox-holder h3.handle, /* Back-compat for pre-4.4 */ 2306 .metabox-holder h2.hndle, 2307 .metabox-holder h2.handle { 2297 2308 font-size: 14px; 2298 2309 padding: 8px 12px; 2299 2310 margin: 0; … … 3810 3821 } 3811 3822 3812 3823 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 3824 .metabox-holder h3.handle, /* Back-compat for pre-4.4 */ 3813 3825 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 3814 3826 .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ 3815 3827 .metabox-holder h2 { -
src/wp-admin/css/dashboard.css
873 873 } 874 874 875 875 .hndle:hover .edit-box, 876 .handle:hover .edit-box, 876 877 .edit-box:focus { 877 878 opacity: 1; 878 879 } … … 906 907 text-decoration: underline; 907 908 } 908 909 909 #dashboard-widgets .hndle .postbox-title-action { 910 #dashboard-widgets .hndle .postbox-title-action, 911 #dashboard-widgets .handle .postbox-title-action { 910 912 float: right; 911 913 line-height: 1.2; 912 914 } … … 1057 1059 color: #fff; 1058 1060 } 1059 1061 1060 #dashboard_browser_nag h2.hndle { 1062 #dashboard_browser_nag h2.hndle, 1063 #dashboard_browser_nag h2.handle { 1061 1064 border: none; 1062 1065 font-weight: 600; 1063 1066 font-size: 20px; -
src/wp-admin/css/edit.css
597 597 } 598 598 599 599 #poststuff h3.hndle, /* Back-compat for pre-4.4 */ 600 #poststuff h3.handle, /* Back-compat for pre-4.4 */ 600 601 #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ 601 602 #poststuff h2 { 602 603 font-size: 14px; … … 1439 1440 } 1440 1441 1441 1442 #poststuff h3.hndle, /* Back-compat for pre-4.4 */ 1443 #poststuff h3.handle, /* Back-compat for pre-4.4 */ 1442 1444 #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ 1443 1445 #poststuff h2 { 1444 1446 padding: 12px; -
src/wp-admin/css/ie.css
246 246 border: 1px solid #ddd; 247 247 } 248 248 249 #wpbody-content .postbox .hndle { 249 #wpbody-content .postbox .hndle, 250 #wpbody-content .postbox .handle { 250 251 margin-bottom: -1px; 251 252 } 252 253 -
src/wp-admin/includes/template.php
1316 1316 echo '<span class="toggle-indicator" aria-hidden="true"></span>'; 1317 1317 echo '</button>'; 1318 1318 } 1319 echo '<h2 class="hndle ">';1319 echo '<h2 class="hndle handle">'; 1320 1320 if ( 'dashboard_php_nag' === $box['id'] ) { 1321 1321 echo '<span aria-hidden="true" class="dashicons dashicons-warning"></span>'; 1322 1322 echo '<span class="screen-reader-text">' . __( 'Warning:' ) . ' </span>'; … … 1461 1461 } 1462 1462 ?> 1463 1463 <li class="control-section accordion-section <?php echo $hidden_class; ?> <?php echo $open_class; ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>"> 1464 <h3 class="accordion-section-title hndle " tabindex="0">1464 <h3 class="accordion-section-title hndle handle" tabindex="0"> 1465 1465 <?php echo esc_html( $box['title'] ); ?> 1466 1466 <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span> 1467 1467 </h3>