mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 21:54:28 +00:00
In the QuickPress media modal, use the new post id when a post is published.
Props nacin, koopersmith fixes #22673 git-svn-id: https://develop.svn.wordpress.org/trunk@22994 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -323,7 +323,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
did_action( 'init' ) && $scripts->localize( 'media-models', '_wpMediaModelsL10n', array(
|
||||
'settings' => array(
|
||||
'ajaxurl' => admin_url( 'admin-ajax.php', 'relative' ),
|
||||
'postId' => 0,
|
||||
'post' => array( 'id' => 0 ),
|
||||
),
|
||||
) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user