Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/sites.php

    r18092 r17322  
    3535    '<li>' . __('Visit to go to the frontend site live.') . '</li></ul>' .
    3636    '<p>' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '</p>' .
    37     '<p>' . __('Clicking on bold headings can re-sort this table.') . '</p>' .
     37    '<p>' . __('Clicking on bold settings can re-sort this table. The upper right icons switch between list and excerpt views.') . '</p>' .
    3838    '<p><strong>' . __('For more information:') . '</strong></p>' .
    3939    '<p>' . __('<a href="http://codex.wordpress.org/Network_Admin_Sites_Screens" target="_blank">Documentation on Site Management</a>') . '</p>' .
     
    8989$wp_list_table->prepare_items();
    9090
     91$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' );
     92if ( $pagenum > $total_pages && $total_pages > 0 ) {
     93    wp_redirect( add_query_arg( 'paged', $total_pages ) );
     94    exit;
     95}
     96
    9197require_once( '../admin-header.php' );
    9298?>
     
    97103<?php echo $msg; ?>
    98104<?php if ( current_user_can( 'create_sites') ) : ?>
    99         <a href="<?php echo network_admin_url('site-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
     105        <a href="<?php echo network_admin_url('site-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
    100106<?php endif; ?>
    101107
Note: See TracChangeset for help on using the changeset viewer.