Media: Whoops. Remove error_log. see [22699], #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b1f720c616
commit
b75ec467b2
|
@ -391,8 +391,6 @@ function media_buttons($editor_id = 'content') {
|
|||
|
||||
$img = '<span class="wp-media-buttons-icon"></span> ';
|
||||
|
||||
error_log( 'MEDIA_BUTTONS ' . print_r( func_get_args(), true ) );
|
||||
|
||||
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>';
|
||||
|
|
Loading…
Reference in New Issue