WordPress.org

Make WordPress Core

Changeset 17153


Ignore:
Timestamp:
12/26/2010 09:54:52 PM (7 years ago)
Author:
ryan
Message:

RTL pagination fixes. Props yoavf. fixes #15974

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-list-table.php

    r17151 r17153  
    488488            esc_attr__( 'Go to the first page' ),
    489489            esc_url( remove_query_arg( 'paged', $current_url ) ),
    490             is_rtl() ? '»' : '«'
     490            '«'
    491491        );
    492492
     
    495495            esc_attr__( 'Go to the previous page' ),
    496496            esc_url( add_query_arg( 'paged', max( 1, $current-1 ), $current_url ) ),
    497             is_rtl() ? '›' : '‹'
     497            '‹'
    498498        );
    499499
     
    511511            esc_attr__( 'Go to the next page' ),
    512512            esc_url( add_query_arg( 'paged', min( $total_pages, $current+1 ), $current_url ) ),
    513             is_rtl() ? '‹' : '›'
     513            '›'
    514514        );
    515515
     
    518518            esc_attr__( 'Go to the last page' ),
    519519            esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ),
    520             is_rtl() ? '«' : '»'
     520            '»'
    521521        );
    522 
    523         if ( is_rtl() )
    524             $page_links = array_reverse( $page_links );
    525522
    526523        $output .= "\n" . join( "\n", $page_links );
Note: See TracChangeset for help on using the changeset viewer.