Make WordPress Core

Ticket #32017: 32017.3.diff

File 32017.3.diff, 11.9 KB (added by palmiak, 7 years ago)

Refreshed path

  • src/js/_enqueues/admin/postbox.js

    diff --git a/src/js/_enqueues/admin/postbox.js b/src/js/_enqueues/admin/postbox.js
    index a91b536..defcb98 100644
    a b var postboxes; 
    100100                 * @returns {void}
    101101                 */
    102102                add_postbox_toggles : function (page, args) {
    103                         var $handles = $( '.postbox .hndle, .postbox .handlediv' );
     103                        var $handles = $( '.postbox .handle, .postbox .handlediv' );
    104104
    105105                        this.page = page;
    106106                        this.init( page, args );
    var postboxes; 
    110110                        /**
    111111                         * @since 2.7.0
    112112                         */
    113                         $('.postbox .hndle a').click( function(e) {
     113                        $('.postbox .handle a').click( function(e) {
    114114                                e.stopPropagation();
    115115                        });
    116116
    var postboxes; 
    211211                                placeholder: 'sortable-placeholder',
    212212                                connectWith: '.meta-box-sortables',
    213213                                items: '.postbox',
    214                                 handle: '.hndle',
     214                                handle: '.handle',
    215215                                cursor: 'move',
    216216                                delay: ( isMobile ? 200 : 0 ),
    217217                                distance: 2,
  • src/wp-admin/css/common.css

    diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
    index cf9c7ff..ee153eb 100644
    a b img.emoji { 
    723723------------------------------------------------------------------------------*/
    724724
    725725.widget .widget-top,
    726 .postbox .hndle,
    727 .stuffbox .hndle,
     726.postbox .handle,
     727.stuffbox .handle,
    728728.control-section .accordion-section-title,
    729729.sidebar-name,
    730730#nav-menu-header,
    img.emoji { 
    746746        color: #23282d;
    747747}
    748748
    749 .postbox .hndle,
    750 .stuffbox .hndle {
     749.postbox .handle,
     750.stuffbox .handle {
    751751        border-bottom: 1px solid #eee;
    752752}
    753753
    html.wp-toolbar { 
    20112011}
    20122012
    20132013.js .widget .widget-top,
    2014 .js .postbox .hndle {
     2014.js .postbox .handle {
    20152015        cursor: move;
    20162016}
    20172017
    2018 .hndle a {
     2018.handle a {
    20192019        font-size: 11px;
    20202020        font-weight: 400;
    20212021}
    html.wp-toolbar { 
    20492049}
    20502050
    20512051/* user-select is not a part of the CSS standard - may change behavior in the future */
    2052 .postbox .hndle,
    2053 .stuffbox .hndle {
     2052.postbox .handle,
     2053.stuffbox .handle {
    20542054        -webkit-user-select: none;
    20552055        -moz-user-select: none;
    20562056        -ms-user-select: none;
    h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ 
    22492249
    22502250.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
    22512251.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
    2252 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
    2253 .metabox-holder h2.hndle {
     2252.metabox-holder h3.handle, /* Back-compat for pre-4.4 */
     2253.metabox-holder h2.handle {
    22542254        font-size: 14px;
    22552255        padding: 8px 12px;
    22562256        margin: 0;
    img { 
    37563756                font-size: 14px;
    37573757        }
    37583758
    3759         .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
     3759        .metabox-holder h3.handle, /* Back-compat for pre-4.4 */
    37603760        .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
    37613761        .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
    37623762        .metabox-holder h2 {
  • src/wp-admin/css/dashboard.css

    diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css
    index 19c6bf2..2e8de25 100644
    a b form.initial-form.quickpress-open input#title { 
    897897        opacity: 0;
    898898}
    899899
    900 .hndle:hover .edit-box,
     900.handle:hover .edit-box,
    901901.edit-box:focus {
    902902        opacity: 1;
    903903}
    form.initial-form.quickpress-open input#title { 
    930930        text-decoration: underline;
    931931}
    932932
    933 #dashboard-widgets .hndle .postbox-title-action {
     933#dashboard-widgets .handle .postbox-title-action {
    934934        float: right;
    935935        line-height: 1.2;
    936936}
    a.rsswidget { 
    10991099        color: #fff;
    11001100}
    11011101
    1102 #dashboard_browser_nag h2.hndle {
     1102#dashboard_browser_nag h2.handle {
    11031103        border: none;
    11041104        font-weight: 600;
    11051105        font-size: 20px;
  • src/wp-admin/css/edit.css

    diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
    index 00c68e2..7167e0a 100644
    a b span.wp-media-buttons-icon:before { 
    598598        text-indent: 0;
    599599}
    600600
    601 #poststuff h3.hndle, /* Back-compat for pre-4.4 */
     601#poststuff h3.handle, /* Back-compat for pre-4.4 */
    602602#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
    603603#poststuff h2 {
    604604        font-size: 14px;
    table.links-table { 
    14391439                padding: 10px 10px;
    14401440        }
    14411441
    1442         #poststuff h3.hndle, /* Back-compat for pre-4.4 */
     1442        #poststuff h3.handle, /* Back-compat for pre-4.4 */
    14431443        #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
    14441444        #poststuff h2 {
    14451445                padding: 12px;
  • src/wp-admin/css/ie.css

    diff --git a/src/wp-admin/css/ie.css b/src/wp-admin/css/ie.css
    index ceb02a8..7070688 100644
    a b table.fixed td { 
    246246        border: 1px solid #ddd;
    247247}
    248248
    249 #wpbody-content .postbox .hndle {
     249#wpbody-content .postbox .handle {
    250250        margin-bottom: -1px;
    251251}
    252252
  • src/wp-admin/includes/template.php

    diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
    index b89a899..1e4a19b 100644
    a b function do_meta_boxes( $screen, $context, $object ) { 
    11401140                                                echo '<span class="toggle-indicator" aria-hidden="true"></span>';
    11411141                                                echo '</button>';
    11421142                                        }
    1143                                         echo '<h2 class="hndle">';
     1143                                        echo '<h2 class="handle">';
    11441144                                        if ( 'dashboard_php_nag' === $box['id'] ) {
    11451145                                                echo '<span aria-hidden="true" class="dashicons dashicons-warning"></span>';
    11461146                                                echo '<span class="screen-reader-text">' . __( 'Warning:' ) . ' </span>';
    function do_accordion_sections( $screen, $context, $object ) { 
    12681268                                        }
    12691269                                        ?>
    12701270                                        <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'] ); ?>">
    1271                                                 <h3 class="accordion-section-title hndle" tabindex="0">
     1271                                                <h3 class="accordion-section-title handle" tabindex="0">
    12721272                                                        <?php echo esc_html( $box['title'] ); ?>
    12731273                                                        <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span>
    12741274                                                </h3>