mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-08 22:54:36 +00:00
Add a delete link to the media modal.
Props merty, nacin, koopersmith fixes #22524 git-svn-id: https://develop.svn.wordpress.org/trunk@22869 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -322,7 +322,6 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->add( 'media-models', "/wp-includes/js/media-models$suffix.js", array( 'backbone', 'jquery' ), false, 1 );
|
||||
did_action( 'init' ) && $scripts->localize( 'media-models', '_wpMediaModelsL10n', array(
|
||||
'settings' => array(
|
||||
'saveAttachmentNonce' => wp_create_nonce( 'save-attachment' ),
|
||||
'ajaxurl' => admin_url( 'admin-ajax.php', 'relative' ),
|
||||
'postId' => 0,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user