WordPress.org

Make WordPress Core

Ticket #22456: 22456.5.patch

File 22456.5.patch, 3.5 KB (added by lessbloat, 6 years ago)
  • wp-includes/class-wp-editor.php

     
    124124                        echo $set['editor_css'] . "\n";
    125125
    126126                if ( !empty($buttons) || $set['media_buttons'] ) {
    127                         echo '<div id="wp-' . $editor_id . '-editor-tools" class="wp-editor-tools">';
     127                        echo '<div id="wp-' . $editor_id . '-editor-tools" class="hide-if-no-js wp-editor-tools">';
    128128                        echo $buttons;
    129129
    130130                        if ( $set['media_buttons'] ) {
  • wp-admin/edit-form-advanced.php

     
    322322    $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-small" onclick="prompt(&#39;URL:&#39;, jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';
    323323
    324324if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?>
    325         <div id="edit-slug-box">
     325        <div id="edit-slug-box" class="hide-if-no-js">
    326326        <?php
    327327                if ( $sample_permalink_html && 'auto-draft' != get_post_status( $post ) )
    328328                        echo $sample_permalink_html;
  • wp-admin/css/wp-admin-rtl.css

     
    15861586        right: 6px;
    15871587}
    15881588
     1589.no-js #post-body #title-prompt-text,
     1590.no-js #wp-content-wrap .screen-reader-text {
     1591        left: auto;
     1592        right: 0;
     1593}
     1594
    15891595/*------------------------------------------------------------------------------
    15901596  24.0  - Dead
    15911597------------------------------------------------------------------------------*/
     
    19101916
    19111917#dashboard-widgets h3 .postbox-title-action {
    19121918        right: auto;
     1919        left: 10px;
     1920}
     1921
     1922.js #dashboard-widgets h3 .postbox-title-action {
     1923        right: auto;
    19131924        left: 30px;
    19141925}
    19151926
  • wp-admin/css/wp-admin.css

     
    227227.hidden,
    228228.js .closed .inside,
    229229.js .hide-if-js,
    230 .no-js .hide-if-no-js {
     230.no-js .hide-if-no-js,
     231.no-js #postimagediv .remove,
     232.no-js #postimagediv .choose,
     233.no-js #postcustom #enternew,
     234.no-js .wp_attachment_image input.button,
     235.no-js #dashboard_quick_press,
     236.no-js tfoot .check-column input[type='checkbox'],
     237.no-js thead .check-column input[type='checkbox'] {
    231238        display: none;
    232239}
    233240
     241.no-js #post-body #title-prompt-text,
     242.no-js #wp-content-wrap .screen-reader-text {
     243        color: #bbb;
     244        display: block;
     245        font-size: 12px !important;
     246        height: auto;
     247        left: 0;
     248        overflow: visible;
     249        padding: 3px 0 !important;
     250        position: relative !important;
     251        top: 0;
     252        width: auto;
     253        cursor: pointer;
     254}
     255
    234256/* include margin and padding in the width calculation of input and textarea */
    235257input[type="text"],
    236258input[type="password"],
     
    23082330        float: left;
    23092331}
    23102332
    2311 .ie8 .welcome-panel .welcome-panel-column { 
     2333.ie8 .welcome-panel .welcome-panel-column {
    23122334        min-width: 230px;
    23132335}
    23142336
     
    60526074
    60536075#dashboard-widgets h3 .postbox-title-action {
    60546076        position: absolute;
    6055         right: 30px;
     6077        right: 10px;
    60566078        padding: 0;
    60576079        top: 5px;
    60586080}
    60596081
     6082.js #dashboard-widgets h3 .postbox-title-action {
     6083        right: 30px;
     6084}
     6085
    60606086#dashboard-widgets h4 {
    60616087        font-weight: normal;
    60626088        font-size: 13px;