Ticket #22456: 22456.3.patch
File 22456.3.patch, 10.5 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/includes/class-wp-links-list-table.php
77 77 78 78 function get_columns() { 79 79 return array( 80 'cb' => '<input type="checkbox" />',80 'cb' => '<input type="checkbox" class="hide-if-no-js" />', 81 81 'name' => _x( 'Name', 'link name' ), 82 82 'url' => __( 'URL' ), 83 83 'categories' => __( 'Categories' ), -
wp-admin/includes/class-wp-terms-list-table.php
95 95 96 96 function get_columns() { 97 97 $columns = array( 98 'cb' => '<input type="checkbox" />',98 'cb' => '<input type="checkbox" class="hide-if-no-js" />', 99 99 'name' => _x( 'Name', 'term name' ), 100 100 'description' => __( 'Description' ), 101 101 'slug' => __( 'Slug' ), -
wp-admin/includes/class-wp-list-table.php
664 664 if ( ! empty( $columns['cb'] ) ) { 665 665 static $cb_counter = 1; 666 666 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select All' ) . '</label>' 667 . '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />';667 . '<input id="cb-select-all-' . $cb_counter . '" class="hide-if-no-js" type="checkbox" />'; 668 668 $cb_counter++; 669 669 } 670 670 -
wp-admin/includes/class-wp-ms-themes-list-table.php
167 167 } 168 168 169 169 function get_columns() { 170 global $status;171 172 170 return array( 173 'cb' => '<input type="checkbox" />',171 'cb' => '<input type="checkbox" class="hide-if-no-js" />', 174 172 'name' => __( 'Theme' ), 175 173 'description' => __( 'Description' ), 176 174 ); -
wp-admin/includes/class-wp-ms-users-list-table.php
111 111 112 112 function get_columns() { 113 113 $users_columns = array( 114 'cb' => '<input type="checkbox" />',114 'cb' => '<input type="checkbox" class="hide-if-no-js" />', 115 115 'username' => __( 'Username' ), 116 116 'name' => __( 'Name' ), 117 117 'email' => __( 'E-mail' ), -
wp-admin/includes/class-wp-ms-sites-list-table.php
144 144 function get_columns() { 145 145 $blogname_columns = ( is_subdomain_install() ) ? __( 'Domain' ) : __( 'Path' ); 146 146 $sites_columns = array( 147 'cb' => '<input type="checkbox" />',147 'cb' => '<input type="checkbox" class="hide-if-no-js" />', 148 148 'blogname' => $blogname_columns, 149 149 'lastupdated' => __( 'Last Updated' ), 150 150 'registered' => _x( 'Registered', 'site' ), -
wp-admin/includes/class-wp-posts-list-table.php
251 251 252 252 $posts_columns = array(); 253 253 254 $posts_columns['cb'] = '<input type="checkbox" />';254 $posts_columns['cb'] = '<input type="checkbox" class="hide-if-no-js" />'; 255 255 256 256 /* translators: manage posts column name */ 257 257 $posts_columns['title'] = _x( 'Title', 'column name' ); -
wp-admin/includes/class-wp-media-list-table.php
127 127 128 128 function get_columns() { 129 129 $posts_columns = array(); 130 $posts_columns['cb'] = '<input type="checkbox" />';130 $posts_columns['cb'] = '<input type="checkbox" class="hide-if-no-js" />'; 131 131 $posts_columns['icon'] = ''; 132 132 /* translators: column name */ 133 133 $posts_columns['title'] = _x( 'File', 'column name' ); -
wp-admin/includes/class-wp-users-list-table.php
161 161 162 162 function get_columns() { 163 163 $c = array( 164 'cb' => '<input type="checkbox" />',164 'cb' => '<input type="checkbox" class="hide-if-no-js" />', 165 165 'username' => __( 'Username' ), 166 166 'name' => __( 'Name' ), 167 167 'email' => __( 'E-mail' ), -
wp-admin/includes/class-wp-plugins-list-table.php
177 177 global $status; 178 178 179 179 return array( 180 'cb' => !in_array( $status, array( 'mustuse', 'dropins' ) ) ? '<input type="checkbox" />' : '',180 'cb' => !in_array( $status, array( 'mustuse', 'dropins' ) ) ? '<input type="checkbox" class="hide-if-no-js" />' : '', 181 181 'name' => __( 'Plugin' ), 182 182 'description' => __( 'Description' ), 183 183 ); -
wp-admin/includes/class-wp-comments-list-table.php
252 252 $columns = array(); 253 253 254 254 if ( $this->checkbox ) 255 $columns['cb'] = '<input type="checkbox" />';255 $columns['cb'] = '<input type="checkbox" class="hide-if-no-js" />'; 256 256 257 257 $columns['author'] = __( 'Author' ); 258 258 $columns['comment'] = _x( 'Comment', 'column name' ); -
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"], … … 2308 2327 float: left; 2309 2328 } 2310 2329 2311 .ie8 .welcome-panel .welcome-panel-column { 2330 .ie8 .welcome-panel .welcome-panel-column { 2312 2331 min-width: 230px; 2313 2332 } 2314 2333 … … 6052 6071 6053 6072 #dashboard-widgets h3 .postbox-title-action { 6054 6073 position: absolute; 6055 right: 30px;6074 right: 10px; 6056 6075 padding: 0; 6057 6076 top: 5px; 6058 6077 } 6059 6078 6079 .js #dashboard-widgets h3 .postbox-title-action { 6080 right: 30px; 6081 } 6082 6060 6083 #dashboard-widgets h4 { 6061 6084 font-weight: normal; 6062 6085 font-size: 13px; -
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/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;