Ticket #22456: 22456-post-and-quickpress-labels.diff
File 22456-post-and-quickpress-labels.diff, 2.8 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.css
231 231 display: none; 232 232 } 233 233 234 .no-js #quick-press .screen-reader-text, 235 .no-js #post-body #title-prompt-text, 236 .no-js #wp-content-wrap .screen-reader-text { 237 color: #bbb; 238 display: block; 239 font-size: 12px !important; 240 height: auto; 241 left: 0; 242 overflow: visible; 243 padding: 3px 0 !important; 244 position: relative !important; 245 top: 0; 246 width: auto; 247 } 248 234 249 /* include margin and padding in the width calculation of input and textarea */ 235 250 input[type="text"], 236 251 input[type="password"],