Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r17345 r17900  
    131131$wp_list_table->prepare_items();
    132132
    133 $total_pages = $wp_list_table->get_pagination_arg( 'total_pages' );
    134 if ( $pagenum > $total_pages && $total_pages > 0 ) {
    135     wp_redirect( add_query_arg( 'paged', $total_pages ) );
    136     exit;
    137 }
    138 
    139133$title = __('Media Library');
    140134$parent_file = 'upload.php';
     
    152146    '<p>' . __( 'If a media file has not been attached to any post, you will see that in the <em>Attached To</em> column, and can click on <em>Attach File</em> to launch a small popup that will allow you to search for a post and attach the file.' ) . '</p>' .
    153147    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    154     '<p>' . __( '<a href="http://codex.wordpress.org/Media_Library_SubPanel" target="_blank">Documentation on Media Library</a>' ) . '</p>' .
     148    '<p>' . __( '<a href="http://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' .
    155149    '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
    156150);
     
    161155<div class="wrap">
    162156<?php screen_icon(); ?>
    163 <h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php
     157<h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php
    164158if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    165159    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', get_search_query() ); ?>
Note: See TracChangeset for help on using the changeset viewer.