Declare args as a local variable. props greuben. fixes #25078.
Built from https://develop.svn.wordpress.org/trunk@25080 git-svn-id: http://core.svn.wordpress.org/trunk@25065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
52e2e61cb1
commit
6509e4e686
|
@ -681,7 +681,7 @@ window.wp = window.wp || {};
|
||||||
},
|
},
|
||||||
|
|
||||||
sync: function( method, model, options ) {
|
sync: function( method, model, options ) {
|
||||||
var fallback;
|
var args, fallback;
|
||||||
|
|
||||||
// Overload the read method so Attachment.fetch() functions correctly.
|
// Overload the read method so Attachment.fetch() functions correctly.
|
||||||
if ( 'read' === method ) {
|
if ( 'read' === method ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue