Media: Remove unused `refresh` from _requery.
In [50067] `props.cache` was removed as it was unused. This left a lingering unused `refresh` in the `_requery` function. Props peterwilsoncc. See #50025. Built from https://develop.svn.wordpress.org/trunk@50068 git-svn-id: http://core.svn.wordpress.org/trunk@49769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ffc2cc5617
commit
3dc428f0de
|
@ -911,8 +911,9 @@ var Attachments = Backbone.Collection.extend(/** @lends wp.media.model.Attachmen
|
|||
* If the collection is a query, create and mirror an Attachments Query collection.
|
||||
*
|
||||
* @access private
|
||||
* @param {Boolean} refresh Deprecated, refresh parameter no longer used.
|
||||
*/
|
||||
_requery: function( refresh ) {
|
||||
_requery: function() {
|
||||
var props;
|
||||
if ( this.props.get('query') ) {
|
||||
props = this.props.toJSON();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-alpha-50067';
|
||||
$wp_version = '5.7-alpha-50068';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue