mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Remove the attachment quick-insert button from the media modal. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22138 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1346,10 +1346,6 @@ function wp_print_media_templates( $attachment ) {
|
||||
<% if ( buttons.close ) { %>
|
||||
<a class="close" href="#">×</a>
|
||||
<% } %>
|
||||
|
||||
<% if ( buttons.insert ) { %>
|
||||
<a class="insert button button-small" href="#"><?php _e( 'Insert' ); ?></a>
|
||||
<% } %>
|
||||
</div>
|
||||
<div class="describe"></div>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user