summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--wp-admin/includes/media.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php
index ac55ea1387..c81d495248 100644
--- a/wp-admin/includes/media.php
+++ b/wp-admin/includes/media.php
@@ -387,13 +387,13 @@ function media_buttons($editor_id = 'content') {
'post' => get_post()
) );
- $context = apply_filters('media_buttons_context', __('Upload/Insert %s'));
+ // $context = apply_filters('media_buttons_context', __('Upload/Insert %s'));
$img = '<span class="wp-media-buttons-icon"></span> ';
echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . __( 'Add Media' ) . '</a>';
- 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>';
+ // 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>';
}
add_action( 'media_buttons', 'media_buttons' );