Make WordPress Core


Ignore:
Timestamp:
03/04/2008 04:28:23 AM (18 years ago)
Author:
matt
Message:

Table styling and "add media" label. See #5911. Hat tip: andy.

File:
1 edited

Legend:

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

    r7135 r7151  
    157157    global $post_ID, $temp_ID;
    158158    $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
     159    $context = apply_filters('media_buttons_context', __('Add media: %s'));
    159160    $media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID";
    160161    $media_title = __('Add Media');
     
    173174
    174175EOF;
    175     echo $out;
     176    printf($context, $out);
    176177}
    177178add_action( 'media_buttons', 'media_buttons' );
Note: See TracChangeset for help on using the changeset viewer.