Changeset 22077 for trunk/wp-admin/includes/media.php
- Timestamp:
- 09/28/2012 12:33:40 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r22072 r22077 385 385 $context = apply_filters('media_buttons_context', __('Upload/Insert %s')); 386 386 387 $img = '< img src="' . esc_url( admin_url( 'images/media-button.png?ver=20111005' ) ) . '" width="16" height="16" />';388 389 echo '<a href="#" class="button insert-media " data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . ' Beta Media</a>';387 $img = '<span class="wp-media-buttons-icon"></span>'; 388 389 echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . ' Beta Media</a>'; 390 390 391 391 echo '<a href="' . esc_url( get_upload_iframe_src() ) . '" class="thickbox add_media" id="' . esc_attr( $editor_id ) . '-add_media" title="' . esc_attr__( 'Add Media' ) . '" onclick="return false;">' . sprintf( $context, $img ) . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.