Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -78,7 +78,7 @@ wpList = {
|
||||
if ( !s )
|
||||
return false;
|
||||
|
||||
if ( !e.is('[id="' + s.what + '-add-submit"]') )
|
||||
if ( !e.is('[id="' + s.element + '-submit"]') )
|
||||
return !wpList.add.call( list, e, s );
|
||||
|
||||
if ( !s.element )
|
||||
|
||||
Reference in New Issue
Block a user