mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
jQuery 1.3b2 and related changes (jquery.js is not minified to aid testing)
git-svn-id: https://develop.svn.wordpress.org/trunk@10326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,7 +2,7 @@ jQuery(document).ready( function($) {
|
||||
var before, addBefore, addAfter, delBefore;
|
||||
|
||||
before = function() {
|
||||
var nonce = $('#newmeta [@name=_ajax_nonce]').val(), postId = $('#post_ID').val();
|
||||
var nonce = $('#newmeta [name=_ajax_nonce]').val(), postId = $('#post_ID').val();
|
||||
if ( !nonce || !postId ) { return false; }
|
||||
return [nonce,postId];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user