WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/06/2008 09:56:29 PM (13 years ago)
Author:
azaozz
Message:

Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r9217 r9556  
    666666                'add_args' => $args
    667667            ) );
     668            if ( $this->paging_text ) {
     669                $this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
     670                    number_format_i18n( ( $this->page - 1 ) * $this->users_per_page + 1 ),
     671                    number_format_i18n( min( $this->page * $this->users_per_page, $this->total_users_for_query ) ),
     672                    number_format_i18n( $this->total_users_for_query ),
     673                    $this->paging_text
     674                );
     675            }
    668676        }
    669677    }
Note: See TracChangeset for help on using the changeset viewer.