Declare args as a local variable. props greuben. fixes #25078.
git-svn-id: https://develop.svn.wordpress.org/trunk@25080 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a38af28d35
commit
8af525762c
@ -681,7 +681,7 @@ window.wp = window.wp || {};
|
||||
},
|
||||
|
||||
sync: function( method, model, options ) {
|
||||
var fallback;
|
||||
var args, fallback;
|
||||
|
||||
// Overload the read method so Attachment.fetch() functions correctly.
|
||||
if ( 'read' === method ) {
|
||||
|
Loading…
Reference in New Issue
Block a user