From 672ca87116f9a8c4829c4c144556ba10ed2cf75e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 23 Jun 2008 23:25:15 +0000 Subject: [PATCH] Respect post_ID update when doing multiple add meta AJAX requests. Props mdawaffe. fixes #7170 see #6457 git-svn-id: https://develop.svn.wordpress.org/trunk@8177 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- wp-admin/js/post.js | 6 +++++- wp-includes/script-loader.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 87ba776e3a..346fe7eb80 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -915,7 +915,7 @@ function meta_form() { - + __('Save'), 'cancel' => __('Cancel'), ) ); - $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug'), '20080519' ); + $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug'), '20080623' ); $scripts->localize( 'post', 'postL10n', array( 'tagsUsed' => __('Tags used on this post:'), 'add' => attribute_escape(__('Add')),