- File:
-
- 1 edited
-
trunk/wp-admin/includes/class-wp-list-table.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-list-table.php
r19020 r20198 213 213 <p class="search-box"> 214 214 <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 215 <input type=" text" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />215 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 216 216 <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?> 217 217 </p> … … 387 387 selected( $m, $year . $month, false ), 388 388 esc_attr( $arc_row->year . $month ), 389 $wp_locale->get_month( $month ) . " $year" 389 /* translators: 1: month name, 2: 4-digit year */ 390 sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year ) 390 391 ); 391 392 } … … 484 485 return; 485 486 486 extract( $this->_pagination_args );487 extract( $this->_pagination_args, EXTR_SKIP ); 487 488 488 489 $output = '<span class="displaying-num">' . sprintf( _n( '1 item', '%s items', $total_items ), number_format_i18n( $total_items ) ) . '</span>'; … … 519 520 $html_current_page = $current; 520 521 else 521 $html_current_page = sprintf( "<input class='current-page' title='%s' type='text' name=' %s' value='%s' size='%d' />",522 $html_current_page = sprintf( "<input class='current-page' title='%s' type='text' name='paged' value='%s' size='%d' />", 522 523 esc_attr__( 'Current page' ), 523 esc_attr( 'paged' ),524 524 $current, 525 525 strlen( $total_pages ) … … 543 543 ); 544 544 545 $output .= "\n<span class='pagination-links'>" . join( "\n", $page_links ) . '</span>'; 545 $pagination_links_class = 'pagination-links'; 546 if ( ! empty( $infinite_scroll ) ) 547 $pagination_links_class = ' hide-if-js'; 548 $output .= "\n<span class='$pagination_links_class'>" . join( "\n", $page_links ) . '</span>'; 546 549 547 550 if ( $total_pages ) … … 872 875 873 876 extract( $this->_args ); 874 extract( $this->_pagination_args );877 extract( $this->_pagination_args, EXTR_SKIP ); 875 878 876 879 ob_start(); … … 914 917 } 915 918 } 916 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)