Make WordPress Core


Ignore:
Timestamp:
09/27/2008 08:17:55 AM (18 years ago)
Author:
azaozz
Message:

Upload media from the Media Library page.

File:
1 edited

Legend:

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

    r8984 r8998  
    99/** WordPress Administration Bootstrap */
    1010require_once('admin.php');
    11 add_thickbox();
     11//add_thickbox();
    1212wp_enqueue_script( 'media-upload' );
    1313wp_enqueue_script( 'wp-ajax-response' );
     
    183183        $h2_tag    = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with “%s”'), single_tag_title('', false) ) : '';
    184184        $h2_month  = isset($_GET['m'])   && $_GET['m']   ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : '';
    185         printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s" class="thickbox">Add New</a>)|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month, 'media-upload.php?library=false&TB_iframe=true' );
     185        printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s">Add New</a>)|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month, 'media-upload.php?inline' );
    186186}
    187187?></h2>
     
    225225endif;
    226226
    227 $messages[1] = __('Media updated.');
     227$messages[1] = __('Media attachment updated.');
    228228$messages[2] = __('Media deleted.');
     229$messages[3] = __('Error saving media attachment.');
    229230
    230231if ( isset($_GET['message']) && (int) $_GET['message'] )
Note: See TracChangeset for help on using the changeset viewer.