diff --git a/src/wp-includes/js/wp-backbone.js b/src/wp-includes/js/wp-backbone.js index 0db9161faa..8cbfe6f508 100644 --- a/src/wp-includes/js/wp-backbone.js +++ b/src/wp-includes/js/wp-backbone.js @@ -21,7 +21,7 @@ window.wp = window.wp || {}; // // Returns an array of all subviews. all: function() { - return _.flatten( this._views ); + return _.flatten( _.values( this._views ) ); }, // ### Get a selector's subviews