Ticket #22456: 22456.4.patch
File 22456.4.patch, 4.4 KB (added by , 12 years ago) |
---|
-
wp-includes/class-wp-editor.php
124 124 echo $set['editor_css'] . "\n"; 125 125 126 126 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">'; 128 128 echo $buttons; 129 129 130 130 if ( $set['media_buttons'] ) { … … 140 140 echo "</div>\n"; 141 141 } 142 142 143 $the_editor = apply_filters('the_editor', '< div id="wp-' . $editor_id . '-editor-container" class="wp-editor-container"><textarea' . $editor_class . $height . $tabindex . ' cols="40" name="' . $set['textarea_name'] . '" id="' . $editor_id . '">%s</textarea></div>');143 $the_editor = apply_filters('the_editor', '<label class="screen-reader-text" for="content">' . __( 'Content' ) . '</label><div id="wp-' . $editor_id . '-editor-container" class="wp-editor-container"><textarea' . $editor_class . $height . $tabindex . ' cols="40" name="' . $set['textarea_name'] . '" id="' . $editor_id . '">%s</textarea></div>'); 144 144 $content = apply_filters('the_editor_content', $content); 145 145 146 146 printf($the_editor, $content); -
wp-admin/edit-form-advanced.php
322 322 $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-small" onclick="prompt('URL:', jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>'; 323 323 324 324 if ( $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"> 326 326 <?php 327 327 if ( $sample_permalink_html && 'auto-draft' != get_post_status( $post ) ) 328 328 echo $sample_permalink_html; -
wp-admin/css/wp-admin-rtl.css
1586 1586 right: 6px; 1587 1587 } 1588 1588 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 1589 1595 /*------------------------------------------------------------------------------ 1590 1596 24.0 - Dead 1591 1597 ------------------------------------------------------------------------------*/ … … 1910 1916 1911 1917 #dashboard-widgets h3 .postbox-title-action { 1912 1918 right: auto; 1919 left: 10px; 1920 } 1921 1922 .js #dashboard-widgets h3 .postbox-title-action { 1923 right: auto; 1913 1924 left: 30px; 1914 1925 } 1915 1926 -
wp-admin/css/wp-admin.css
227 227 .hidden, 228 228 .js .closed .inside, 229 229 .js .hide-if-js, 230 .no-js .hide-if-no-js { 230 .no-js .hide-if-no-js, 231 .no-js #postimagediv, 232 .no-js #postcustom #enternew, 233 .no-js .wp_attachment_image input.button, 234 .no-js #dashboard_quick_press { 231 235 display: none; 232 236 } 233 237 238 .no-js #post-body #title-prompt-text, 239 .no-js #wp-content-wrap .screen-reader-text { 240 color: #bbb; 241 display: block; 242 font-size: 12px !important; 243 height: auto; 244 left: 0; 245 overflow: visible; 246 padding: 3px 0 !important; 247 position: relative !important; 248 top: 0; 249 width: auto; 250 cursor: pointer; 251 } 252 234 253 /* include margin and padding in the width calculation of input and textarea */ 235 254 input[type="text"], 236 255 input[type="password"], … … 627 646 padding: 10px 0 0; 628 647 } 629 648 649 .no-js tfoot .check-column input[type='checkbox'], 650 .no-js thead .check-column input[type='checkbox'] { 651 display: none; 652 } 653 630 654 .widefat .num, 631 655 .column-comments, 632 656 .column-links, … … 2308 2332 float: left; 2309 2333 } 2310 2334 2311 .ie8 .welcome-panel .welcome-panel-column { 2335 .ie8 .welcome-panel .welcome-panel-column { 2312 2336 min-width: 230px; 2313 2337 } 2314 2338 … … 6052 6076 6053 6077 #dashboard-widgets h3 .postbox-title-action { 6054 6078 position: absolute; 6055 right: 30px;6079 right: 10px; 6056 6080 padding: 0; 6057 6081 top: 5px; 6058 6082 } 6059 6083 6084 .js #dashboard-widgets h3 .postbox-title-action { 6085 right: 30px; 6086 } 6087 6060 6088 #dashboard-widgets h4 { 6061 6089 font-weight: normal; 6062 6090 font-size: 13px;