Ticket #19956: 19956.diff
File 19956.diff, 889 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/media.php
395 395 396 396 $img = '<img src="' . esc_url( admin_url( 'images/media-button.png?ver=20111005' ) ) . '" width="15" height="15" />'; 397 397 398 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>';398 echo '<a href="' . esc_url( get_upload_iframe_src() ) . '" class="thickbox add_media button" id="' . esc_attr( $editor_id ) . '-add_media" title="' . esc_attr__( 'Add Media' ) . '" onclick="return false;">' . sprintf( $context, $img ) . '</a>'; 399 399 } 400 400 add_action( 'media_buttons', 'media_buttons' ); 401 401