diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
index 94458be..4150cfb 100644
|
|
|
img.emoji { |
| 712 | 712 | ------------------------------------------------------------------------------*/ |
| 713 | 713 | |
| 714 | 714 | .widget .widget-top, |
| 715 | | .postbox .hndle, |
| 716 | | .stuffbox .hndle, |
| | 715 | .postbox .handle, |
| | 716 | .postbox .hndle, /* Back-compat for pre-4.5 */ |
| | 717 | .stuffbox .handle, |
| | 718 | .stuffbox .hndle, /* Back-compat for pre-4.5 */ |
| 717 | 719 | .control-section .accordion-section-title, |
| 718 | 720 | .sidebar-name, |
| 719 | 721 | #nav-menu-header, |
| … |
… |
img.emoji { |
| 735 | 737 | color: #23282d; |
| 736 | 738 | } |
| 737 | 739 | |
| 738 | | .postbox .hndle, |
| 739 | | .stuffbox .hndle { |
| | 740 | .postbox .handle, |
| | 741 | .postbox .hndle, /* Back-compat for pre-4.5 */ |
| | 742 | .stuffbox .handle, |
| | 743 | .stuffbox .hndle { /* Back-compat for pre-4.5 */ |
| 740 | 744 | border-bottom: 1px solid #eee; |
| 741 | 745 | } |
| 742 | 746 | |
| … |
… |
html.wp-toolbar { |
| 1870 | 1874 | } |
| 1871 | 1875 | |
| 1872 | 1876 | .js .widget .widget-top, |
| 1873 | | .js .postbox .hndle { |
| | 1877 | .js .postbox .handle, |
| | 1878 | .js .postbox .hndle { /* Back-compat for pre-4.5 */ |
| 1874 | 1879 | cursor: move; |
| 1875 | 1880 | } |
| 1876 | 1881 | |
| 1877 | | .hndle a { |
| | 1882 | .handle a, |
| | 1883 | .hndle a { /* Back-compat for pre-4.5 */ |
| 1878 | 1884 | font-size: 11px; |
| 1879 | 1885 | font-weight: normal; |
| 1880 | 1886 | } |
| … |
… |
html.wp-toolbar { |
| 1904 | 1910 | } |
| 1905 | 1911 | |
| 1906 | 1912 | /* user-select is not a part of the CSS standard - may change behavior in the future */ |
| 1907 | | .postbox .hndle, |
| 1908 | | .stuffbox .hndle { |
| | 1913 | .postbox .handle, |
| | 1914 | .postbox .hndle, /* Back-compat for pre-4.5 */ |
| | 1915 | .stuffbox .handle, |
| | 1916 | .stuffbox .hndle { /* Back-compat for pre-4.5 */ |
| 1909 | 1917 | -webkit-user-select: none; |
| 1910 | 1918 | -moz-user-select: none; |
| 1911 | 1919 | -ms-user-select: none; |
| … |
… |
h3.nav-tab-wrapper { |
| 2097 | 2105 | |
| 2098 | 2106 | .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 2099 | 2107 | .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ |
| 2100 | | .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ |
| 2101 | | .metabox-holder h2.hndle { |
| | 2108 | .metabox-holder h3.handle, /* Back-compat for pre-4.4 */ |
| | 2109 | .metabox-holder h3.hndle, /* Back-compat for pre-4.5 */ |
| | 2110 | .metabox-holder h2.handle, /* Back-compat for pre-4.4 */ |
| | 2111 | .metabox-holder h2.hndle { /* Back-compat for pre-4.5 */ |
| 2102 | 2112 | font-size: 14px; |
| 2103 | 2113 | padding: 8px 12px; |
| 2104 | 2114 | margin: 0; |
| … |
… |
img { |
| 3537 | 3547 | font-size: 14px; |
| 3538 | 3548 | } |
| 3539 | 3549 | |
| 3540 | | .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ |
| | 3550 | .metabox-holder h3.handle, /* Back-compat for pre-4.5 */ |
| | 3551 | .metabox-holder h3.hndle, /* Back-compat for pre-4.5 */ |
| 3541 | 3552 | .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 3542 | | .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ |
| | 3553 | .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ |
| 3543 | 3554 | .metabox-holder h2 { |
| 3544 | 3555 | padding: 12px; |
| 3545 | 3556 | } |
diff --git src/wp-admin/css/dashboard.css src/wp-admin/css/dashboard.css
index 43e9b3e..4626241 100644
|
|
|
a.rsswidget { |
| 957 | 957 | |
| 958 | 958 | /* Make the browser nags easier to read with Open Sans */ |
| 959 | 959 | |
| 960 | | #dashboard_browser_nag h2.hndle { |
| | 960 | #dashboard_browser_nag h2.handle, |
| | 961 | #dashboard_browser_nag h2.hndle { /* Back-compat for pre-4.5 */ |
| 961 | 962 | border: none; |
| 962 | 963 | font-weight: 600; |
| 963 | 964 | font-size: 20px; |
diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
index 2dca35b..358f1b5 100644
|
|
|
span.wp-media-buttons-icon:before { |
| 637 | 637 | position: absolute; |
| 638 | 638 | } |
| 639 | 639 | |
| 640 | | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| | 640 | #poststuff h3.handle, /* Back-compat for pre-4.5 */ |
| | 641 | #poststuff h3.hndle, /* Back-compat for pre-4.5 */ |
| 641 | 642 | #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 642 | 643 | #poststuff h2 { |
| 643 | 644 | font-size: 14px; |
| … |
… |
table.links-table { |
| 1366 | 1367 | padding: 10px 10px; |
| 1367 | 1368 | } |
| 1368 | 1369 | |
| 1369 | | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| | 1370 | #poststuff h3.handle, /* Back-compat for pre-4.5 */ |
| | 1371 | #poststuff h3.hndle, /* Back-compat for pre-4.5 */ |
| 1370 | 1372 | #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 1371 | 1373 | #poststuff h2 { |
| 1372 | 1374 | padding: 12px; |
diff --git src/wp-admin/css/ie.css src/wp-admin/css/ie.css
index 78f84e0..eb899bf 100644
|
|
|
table.fixed td { |
| 247 | 247 | border: 1px solid #dfdfdf; |
| 248 | 248 | } |
| 249 | 249 | |
| 250 | | #wpbody-content .postbox .hndle { |
| | 250 | #wpbody-content .postbox .handle, |
| | 251 | #wpbody-content .postbox .hndle { /* Back-compat for pre-4.5 */ |
| 251 | 252 | margin-bottom: -1px; |
| 252 | 253 | } |
| 253 | 254 | |
diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
index e65c7d0..8735b50 100644
|
|
|
|
| 8 | 8 | * @subpackage Administration |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | | /** Walker_Category_Checklist class */ |
| | 11 | /** Walker_Category_Checklist class */ |
| 12 | 12 | require_once( ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php' ); |
| 13 | 13 | |
| 14 | | /** WP_Internal_Pointers class */ |
| | 14 | /** WP_Internal_Pointers class */ |
| 15 | 15 | require_once( ABSPATH . 'wp-admin/includes/class-wp-internal-pointers.php' ); |
| 16 | 16 | |
| 17 | 17 | // |
| … |
… |
function do_meta_boxes( $screen, $context, $object ) { |
| 1032 | 1032 | echo '<span class="toggle-indicator" aria-hidden="true"></span>'; |
| 1033 | 1033 | echo '</button>'; |
| 1034 | 1034 | } |
| 1035 | | echo "<h2 class='hndle'><span>{$box['title']}</span></h2>\n"; |
| | 1035 | echo "<h2 class='handle'><span>{$box['title']}</span></h2>\n"; |
| 1036 | 1036 | echo '<div class="inside">' . "\n"; |
| 1037 | 1037 | call_user_func($box['callback'], $object, $box); |
| 1038 | 1038 | echo "</div>\n"; |
| … |
… |
function do_accordion_sections( $screen, $context, $object ) { |
| 1149 | 1149 | } |
| 1150 | 1150 | ?> |
| 1151 | 1151 | <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'] ); ?>"> |
| 1152 | | <h3 class="accordion-section-title hndle" tabindex="0"> |
| | 1152 | <h3 class="accordion-section-title handle" tabindex="0"> |
| 1153 | 1153 | <?php echo esc_html( $box['title'] ); ?> |
| 1154 | 1154 | <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span> |
| 1155 | 1155 | </h3> |
diff --git src/wp-admin/js/postbox.js src/wp-admin/js/postbox.js
index 4fe7419..1cfc577 100644
|
|
|
var postboxes; |
| 45 | 45 | }, |
| 46 | 46 | |
| 47 | 47 | add_postbox_toggles : function (page, args) { |
| 48 | | var $handles = $( '.postbox .hndle, .postbox .handlediv' ); |
| | 48 | var $handles = $( '.postbox .handle, .postbox .hndle, .postbox .handlediv' ); |
| 49 | 49 | |
| 50 | 50 | this.page = page; |
| 51 | 51 | this.init( page, args ); |
| 52 | 52 | |
| 53 | 53 | $handles.on( 'click.postboxes', this.handle_click ); |
| 54 | 54 | |
| 55 | | $('.postbox .hndle a').click( function(e) { |
| | 55 | $('.postbox .handle a, .postbox .hndle a').click( function(e) { |
| 56 | 56 | e.stopPropagation(); |
| 57 | 57 | }); |
| 58 | 58 | |
| … |
… |
var postboxes; |
| 103 | 103 | placeholder: 'sortable-placeholder', |
| 104 | 104 | connectWith: '.meta-box-sortables', |
| 105 | 105 | items: '.postbox', |
| 106 | | handle: '.hndle', |
| | 106 | handle: '.handle, .hndle', |
| 107 | 107 | cursor: 'move', |
| 108 | 108 | delay: ( isMobile ? 200 : 0 ), |
| 109 | 109 | distance: 2, |