diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
index 6e9e362..002c79e 100644
a
|
b
|
private function _get_row_actions( $post, $att_title ) { |
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 ) ), |
… |
… |
private function _get_row_actions( $post, $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 ) ), |
diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php
index 9881c51..6a4b652 100644
a
|
b
|
protected function handle_row_actions( $post, $column_name, $primary ) { |
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 ) ), |
… |
… |
protected function handle_row_actions( $post, $column_name, $primary ) { |
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 ) ), |
… |
… |
public function inline_edit() { |
1398 | 1398 | |
1399 | 1399 | <tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="inline-edit-row inline-edit-row-<?php echo "$hclass inline-edit-" . $screen->post_type; |
1400 | 1400 | echo $bulk ? " bulk-edit-row bulk-edit-row-$hclass bulk-edit-{$screen->post_type}" : " quick-edit-row quick-edit-row-$hclass inline-edit-{$screen->post_type}"; |
1401 | | ?>" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> |
| 1401 | ?>" style="display: none"><td class="colspanchange"> |
1402 | 1402 | |
1403 | 1403 | <fieldset class="inline-edit-col-left"> |
1404 | 1404 | <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend> |
diff --git a/src/wp-admin/includes/class-wp-screen.php b/src/wp-admin/includes/class-wp-screen.php
index de65c86..1f2185d 100644
a
|
b
|
public function render_per_page_options() { |
1181 | 1181 | <?php if ( $per_page_label ) : ?> |
1182 | 1182 | <label for="<?php echo esc_attr( $option ); ?>"><?php echo $per_page_label; ?></label> |
1183 | 1183 | <input type="number" step="1" min="1" max="999" class="screen-per-page" name="wp_screen_options[value]" |
1184 | | id="<?php echo esc_attr( $option ); ?>" maxlength="3" |
| 1184 | id="<?php echo esc_attr( $option ); ?>" |
1185 | 1185 | value="<?php echo esc_attr( $per_page ); ?>" /> |
1186 | 1186 | <?php endif; ?> |
1187 | 1187 | <input type="hidden" name="wp_screen_options[option]" value="<?php echo esc_attr( $option ); ?>" /> |
diff --git a/src/wp-admin/includes/class-wp-terms-list-table.php b/src/wp-admin/includes/class-wp-terms-list-table.php
index 7d59624..d6a4eec 100644
a
|
b
|
public function display_rows_or_placeholder() { |
235 | 235 | $terms = get_terms( $taxonomy, $args ); |
236 | 236 | |
237 | 237 | if ( empty( $terms ) || ! is_array( $terms ) ) { |
238 | | echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">'; |
| 238 | echo '<tr class="no-items"><td class="colspanchange">'; |
239 | 239 | $this->no_items(); |
240 | 240 | echo '</td></tr>'; |
241 | 241 | return; |
diff --git a/src/wp-admin/includes/class-wp-users-list-table.php b/src/wp-admin/includes/class-wp-users-list-table.php
index 8c80e90..4ba5eef 100644
a
|
b
|
protected function get_bulk_actions() { |
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() ) : ?> |
… |
… |
protected function extra_tablenav( $which ) { |
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 | /** |
… |
… |
protected function extra_tablenav( $which ) { |
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 | } |
diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index a4672fd..89f3a12 100644
a
|
b
|
function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $ |
387 | 387 | ?> |
388 | 388 | <form method="get"> |
389 | 389 | <?php if ( $table_row ) : ?> |
390 | | <table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange"> |
| 390 | <table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td class="colspanchange"> |
391 | 391 | <?php else : ?> |
392 | 392 | <div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;"> |
393 | 393 | <?php endif; ?> |
diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php
index 0b54e08..834f027 100644
a
|
b
|
|
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 | |
diff --git a/src/wp-admin/options-media.php b/src/wp-admin/options-media.php
index 698b98d..da67ed0 100644
a
|
b
|
|
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 | | <?php endif; ?> |
122 | 121 | <tr> |
123 | 122 | <th scope="row" colspan="2" class="th-full"> |
| 123 | <?php else : ?> |
| 124 | <tr> |
| 125 | <th scope="row" class="th-full"> |
| 126 | <?php endif; ?> |
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'); ?> |