mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
After [29507], move unreachable code from _requery()
to Query.get()
.
Built from https://develop.svn.wordpress.org/trunk@29531 git-svn-id: http://core.svn.wordpress.org/trunk@29307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
36e4e9917b
commit
a0f2fe6599
@ -828,7 +828,7 @@ window.wp = window.wp || {};
|
||||
var props;
|
||||
if ( this.props.get('query') ) {
|
||||
props = this.props.toJSON();
|
||||
props.cache = ( true !== refresh || _.isUndefined( refresh ) );
|
||||
props.cache = ( true !== refresh );
|
||||
this.mirror( Query.get( props ) );
|
||||
}
|
||||
},
|
||||
@ -1190,7 +1190,7 @@ window.wp = window.wp || {};
|
||||
orderby = Query.orderby,
|
||||
defaults = Query.defaultProps,
|
||||
query,
|
||||
cache = !! props.cache;
|
||||
cache = !! props.cache || _.isUndefined( props.cache );
|
||||
|
||||
// Remove the `query` property. This isn't linked to a query,
|
||||
// this *is* the query.
|
||||
|
2
wp-includes/js/media-models.min.js
vendored
2
wp-includes/js/media-models.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user