Changeset 7151 for trunk/wp-admin/includes/media.php
- Timestamp:
- 03/04/2008 04:28:23 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r7135 r7151 157 157 global $post_ID, $temp_ID; 158 158 $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); 159 $context = apply_filters('media_buttons_context', __('Add media: %s')); 159 160 $media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID"; 160 161 $media_title = __('Add Media'); … … 173 174 174 175 EOF; 175 echo $out;176 printf($context, $out); 176 177 } 177 178 add_action( 'media_buttons', 'media_buttons' );
Note: See TracChangeset
for help on using the changeset viewer.