Ticket #37004: 37004.8.diff
File 37004.8.diff, 8.9 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/forms.css
650 650 font-weight: 600; 651 651 } 652 652 653 .form-table th.th-full {653 .form-table .td-full { 654 654 width: auto; 655 padding: 20px 10px 20px 0; 655 656 font-weight: 400; 656 657 } 657 658 -
src/wp-admin/includes/class-wp-media-list-table.php
496 496 ), 'upload.php' ); 497 497 printf( 498 498 '<br /><a href="%s" class="hide-if-no-js detach-from-parent" aria-label="%s">%s</a>', 499 $detach_url,499 esc_url( $detach_url ), 500 500 /* translators: %s: title of the post the attachment is attached to */ 501 501 esc_attr( sprintf( __( 'Detach from “%s”' ), $title ) ), 502 502 __( 'Detach' ) … … 678 678 } 679 679 } 680 680 $actions['view'] = sprintf( 681 '<a href="%s" aria-label="%s" rel=" permalink">%s</a>',681 '<a href="%s" aria-label="%s" rel="bookmark">%s</a>', 682 682 get_permalink( $post->ID ), 683 683 /* translators: %s: attachment title */ 684 684 esc_attr( sprintf( __( 'View “%s”' ), $att_title ) ), … … 737 737 } 738 738 if ( ! $this->is_trash ) { 739 739 $actions['view'] = sprintf( 740 '<a href="%s" aria-label="%s" rel=" permalink">%s</a>',740 '<a href="%s" aria-label="%s" rel="bookmark">%s</a>', 741 741 get_permalink( $post->ID ), 742 742 /* translators: %s: attachment title */ 743 743 esc_attr( sprintf( __( 'View “%s”' ), $att_title ) ), -
src/wp-admin/includes/class-wp-ms-sites-list-table.php
549 549 } 550 550 } 551 551 552 $actions['visit'] = "<a href='" . esc_url( get_home_url( $blog['blog_id'], '/' ) ) . "' rel=' permalink'>" . __( 'Visit' ) . '</a>';552 $actions['visit'] = "<a href='" . esc_url( get_home_url( $blog['blog_id'], '/' ) ) . "' rel='bookmark'>" . __( 'Visit' ) . '</a>'; 553 553 554 554 /** 555 555 * Filters the action links displayed for each site in the Sites list table. -
src/wp-admin/includes/class-wp-posts-list-table.php
1288 1288 if ( $can_edit_post ) { 1289 1289 $preview_link = get_preview_post_link( $post ); 1290 1290 $actions['view'] = sprintf( 1291 '<a href="%s" rel=" permalink" aria-label="%s">%s</a>',1291 '<a href="%s" rel="bookmark" aria-label="%s">%s</a>', 1292 1292 esc_url( $preview_link ), 1293 1293 /* translators: %s: post title */ 1294 1294 esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ), … … 1297 1297 } 1298 1298 } elseif ( 'trash' != $post->post_status ) { 1299 1299 $actions['view'] = sprintf( 1300 '<a href="%s" rel=" permalink" aria-label="%s">%s</a>',1300 '<a href="%s" rel="bookmark" aria-label="%s">%s</a>', 1301 1301 get_permalink( $post->ID ), 1302 1302 /* translators: %s: post title */ 1303 1303 esc_attr( sprintf( __( 'View “%s”' ), $title ) ), -
src/wp-admin/includes/class-wp-users-list-table.php
258 258 */ 259 259 protected function extra_tablenav( $which ) { 260 260 $id = 'bottom' === $which ? 'new_role2' : 'new_role'; 261 $button_id = 'bottom' === $which ? 'changeit2' : 'changeit'; 261 262 ?> 262 263 <div class="alignleft actions"> 263 264 <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?> … … 267 268 <?php wp_dropdown_roles(); ?> 268 269 </select> 269 270 <?php 270 submit_button( __( 'Change' ), '', 'changeit', false );271 submit_button( __( 'Change' ), '', $button_id, false ); 271 272 endif; 272 273 273 274 /** … … 295 296 * @return string The bulk action required. 296 297 */ 297 298 public function current_action() { 298 if ( isset( $_REQUEST['changeit']) &&299 if ( ( isset( $_REQUEST['changeit'] ) || isset( $_REQUEST['changeit2'] ) ) && 299 300 ( ! empty( $_REQUEST['new_role'] ) || ! empty( $_REQUEST['new_role2'] ) ) ) { 300 301 return 'promote'; 301 302 } -
src/wp-admin/includes/template.php
1520 1520 <div id="find-posts" class="find-box" style="display: none;"> 1521 1521 <div id="find-posts-head" class="find-box-head"> 1522 1522 <?php _e( 'Attach to existing content' ); ?> 1523 <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php _e( 'Close media attachment panel' ); ?></ button>1523 <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php _e( 'Close media attachment panel' ); ?></span></button> 1524 1524 </div> 1525 1525 <div class="find-box-inside"> 1526 1526 <div class="find-box-search"> -
src/wp-admin/options-general.php
130 130 if ( ! empty( $languages ) || ! empty( $translations ) ) { 131 131 ?> 132 132 <tr> 133 <th width="33%"scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?></label></th>133 <th scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?></label></th> 134 134 <td> 135 135 <?php 136 136 $locale = get_locale(); … … 297 297 298 298 echo '<label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"'; 299 299 checked( $custom ); 300 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom date format in the following field' ) . '</span></ label>' .300 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom date format in the following field' ) . '</span></span></label>' . 301 301 '<label for="date_format_custom" class="screen-reader-text">' . __( 'Custom date format:' ) . '</label>' . 302 '<input type="text" name="date_format_custom" id="date_format_custom" value="' . esc_attr( get_option( 'date_format' ) ) . '" class="small-text" /> </span>' .302 '<input type="text" name="date_format_custom" id="date_format_custom" value="' . esc_attr( get_option( 'date_format' ) ) . '" class="small-text" />' . 303 303 '<span class="screen-reader-text">' . __( 'example:' ) . ' </span> <span class="example">' . date_i18n( get_option( 'date_format' ) ) . '</span>' . 304 304 "<span class='spinner'></span>\n"; 305 305 ?> … … 333 333 334 334 echo '<label><input type="radio" name="time_format" id="time_format_custom_radio" value="\c\u\s\t\o\m"'; 335 335 checked( $custom ); 336 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom time format in the following field' ) . '</span></ label>' .336 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom time format in the following field' ) . '</span></span></label>' . 337 337 '<label for="time_format_custom" class="screen-reader-text">' . __( 'Custom time format:' ) . '</label>' . 338 '<input type="text" name="time_format_custom" id="time_format_custom" value="' . esc_attr( get_option( 'time_format' ) ) . '" class="small-text" /> </span>' .338 '<input type="text" name="time_format_custom" id="time_format_custom" value="' . esc_attr( get_option( 'time_format' ) ) . '" class="small-text" />' . 339 339 '<span class="screen-reader-text">' . __( 'example:' ) . ' </span> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' . 340 340 "<span class='spinner'></span>\n"; 341 341 -
src/wp-admin/options-media.php
118 118 <p class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></p> 119 119 </td> 120 120 </tr> 121 <tr> 122 <td colspan="2" class="td-full"> 123 <?php else : ?> 124 <tr> 125 <td class="td-full"> 121 126 <?php endif; ?> 122 <tr>123 <th scope="row" colspan="2" class="th-full">124 127 <label for="uploads_use_yearmonth_folders"> 125 128 <input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1"<?php checked('1', get_option('uploads_use_yearmonth_folders')); ?> /> 126 129 <?php _e('Organize my uploads into month- and year-based folders'); ?> 127 130 </label> 128 </t h>131 </td> 129 132 </tr> 130 133 131 134 <?php do_settings_fields('media', 'uploads'); ?>