diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index c3a307348e..f46cecd19c 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -487,14 +487,14 @@ class WP_List_Table { 'first-page', esc_attr__( 'Go to the first page' ), esc_url( remove_query_arg( 'paged', $current_url ) ), - is_rtl() ? '»' : '«' + '«' ); $page_links[] = sprintf( "%s", 'prev-page', esc_attr__( 'Go to the previous page' ), esc_url( add_query_arg( 'paged', max( 1, $current-1 ), $current_url ) ), - is_rtl() ? '›' : '‹' + '‹' ); $html_current_page = sprintf( "", @@ -510,19 +510,16 @@ class WP_List_Table { 'next-page', esc_attr__( 'Go to the next page' ), esc_url( add_query_arg( 'paged', min( $total_pages, $current+1 ), $current_url ) ), - is_rtl() ? '‹' : '›' + '›' ); $page_links[] = sprintf( "%s", 'last-page', esc_attr__( 'Go to the last page' ), esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ), - is_rtl() ? '«' : '»' + '»' ); - if ( is_rtl() ) - $page_links = array_reverse( $page_links ); - $output .= "\n" . join( "\n", $page_links ); $this->_pagination = "
$output
";