Make WordPress Core

Ticket #32017: 32017.2.diff

File 32017.2.diff, 6.6 KB (added by salcode, 10 years ago)
  • src/wp-admin/css/common.css

    diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
    index 94458be..4150cfb 100644
    img.emoji { 
    712712------------------------------------------------------------------------------*/
    713713
    714714.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 */
    717719.control-section .accordion-section-title,
    718720.sidebar-name,
    719721#nav-menu-header,
    img.emoji { 
    735737        color: #23282d;
    736738}
    737739
    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 */
    740744        border-bottom: 1px solid #eee;
    741745}
    742746
    html.wp-toolbar { 
    18701874}
    18711875
    18721876.js .widget .widget-top,
    1873 .js .postbox .hndle {
     1877.js .postbox .handle,
     1878.js .postbox .hndle { /* Back-compat for pre-4.5 */
    18741879        cursor: move;
    18751880}
    18761881
    1877 .hndle a {
     1882.handle a,
     1883.hndle a { /* Back-compat for pre-4.5 */
    18781884        font-size: 11px;
    18791885        font-weight: normal;
    18801886}
    html.wp-toolbar { 
    19041910}
    19051911
    19061912/* 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 */
    19091917        -webkit-user-select: none;
    19101918        -moz-user-select: none;
    19111919        -ms-user-select: none;
    h3.nav-tab-wrapper { 
    20972105
    20982106.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
    20992107.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 */
    21022112        font-size: 14px;
    21032113        padding: 8px 12px;
    21042114        margin: 0;
    img { 
    35373547                font-size: 14px;
    35383548        }
    35393549
    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 */
    35413552        .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 */
    35433554        .metabox-holder h2 {
    35443555                padding: 12px;
    35453556        }
  • src/wp-admin/css/dashboard.css

    diff --git src/wp-admin/css/dashboard.css src/wp-admin/css/dashboard.css
    index 43e9b3e..4626241 100644
    a.rsswidget { 
    957957
    958958/* Make the browser nags easier to read with Open Sans */
    959959
    960 #dashboard_browser_nag h2.hndle {
     960#dashboard_browser_nag h2.handle,
     961#dashboard_browser_nag h2.hndle { /* Back-compat for pre-4.5 */
    961962        border: none;
    962963        font-weight: 600;
    963964        font-size: 20px;
  • src/wp-admin/css/edit.css

    diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
    index 2dca35b..358f1b5 100644
    span.wp-media-buttons-icon:before { 
    637637        position: absolute;
    638638}
    639639
    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 */
    641642#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
    642643#poststuff h2 {
    643644        font-size: 14px;
    table.links-table { 
    13661367                padding: 10px 10px;
    13671368        }
    13681369
    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 */
    13701372        #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
    13711373        #poststuff h2 {
    13721374                padding: 12px;
  • src/wp-admin/css/ie.css

    diff --git src/wp-admin/css/ie.css src/wp-admin/css/ie.css
    index 78f84e0..eb899bf 100644
    table.fixed td { 
    247247        border: 1px solid #dfdfdf;
    248248}
    249249
    250 #wpbody-content .postbox .hndle {
     250#wpbody-content .postbox .handle,
     251#wpbody-content .postbox .hndle { /* Back-compat for pre-4.5 */
    251252        margin-bottom: -1px;
    252253}
    253254
  • src/wp-admin/includes/template.php

    diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
    index e65c7d0..8735b50 100644
     
    88 * @subpackage Administration
    99 */
    1010
    11 /** Walker_Category_Checklist class */ 
     11/** Walker_Category_Checklist class */
    1212require_once( ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php' );
    1313
    14 /** WP_Internal_Pointers class */ 
     14/** WP_Internal_Pointers class */
    1515require_once( ABSPATH . 'wp-admin/includes/class-wp-internal-pointers.php' );
    1616
    1717//
    function do_meta_boxes( $screen, $context, $object ) { 
    10321032                                                echo '<span class="toggle-indicator" aria-hidden="true"></span>';
    10331033                                                echo '</button>';
    10341034                                        }
    1035                                         echo "<h2 class='hndle'><span>{$box['title']}</span></h2>\n";
     1035                                        echo "<h2 class='handle'><span>{$box['title']}</span></h2>\n";
    10361036                                        echo '<div class="inside">' . "\n";
    10371037                                        call_user_func($box['callback'], $object, $box);
    10381038                                        echo "</div>\n";
    function do_accordion_sections( $screen, $context, $object ) { 
    11491149                                        }
    11501150                                        ?>
    11511151                                        <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">
    11531153                                                        <?php echo esc_html( $box['title'] ); ?>
    11541154                                                        <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span>
    11551155                                                </h3>
  • src/wp-admin/js/postbox.js

    diff --git src/wp-admin/js/postbox.js src/wp-admin/js/postbox.js
    index 4fe7419..1cfc577 100644
    var postboxes; 
    4545                },
    4646
    4747                add_postbox_toggles : function (page, args) {
    48                         var $handles = $( '.postbox .hndle, .postbox .handlediv' );
     48                        var $handles = $( '.postbox .handle, .postbox .hndle, .postbox .handlediv' );
    4949
    5050                        this.page = page;
    5151                        this.init( page, args );
    5252
    5353                        $handles.on( 'click.postboxes',  this.handle_click );
    5454
    55                         $('.postbox .hndle a').click( function(e) {
     55                        $('.postbox .handle a, .postbox .hndle a').click( function(e) {
    5656                                e.stopPropagation();
    5757                        });
    5858
    var postboxes; 
    103103                                placeholder: 'sortable-placeholder',
    104104                                connectWith: '.meta-box-sortables',
    105105                                items: '.postbox',
    106                                 handle: '.hndle',
     106                                handle: '.handle, .hndle',
    107107                                cursor: 'move',
    108108                                delay: ( isMobile ? 200 : 0 ),
    109109                                distance: 2,