mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Back compat $_REQUEST['post_id'] for media XHR requests.
Props koopersmith, nacin. fixes #22588 git-svn-id: https://develop.svn.wordpress.org/trunk@22865 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -324,6 +324,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'settings' => array(
|
||||
'saveAttachmentNonce' => wp_create_nonce( 'save-attachment' ),
|
||||
'ajaxurl' => admin_url( 'admin-ajax.php', 'relative' ),
|
||||
'postId' => 0,
|
||||
),
|
||||
) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user