File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -532,9 +532,9 @@ static function ( $result ) {
532532 // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore -- Whitelisting to provide backward compatibility to classes possibly extending this class.
533533 protected function _list ( $ _ , $ assoc_args ) {
534534
535- // If `--force-check` flag is present, delete the ${item_type} transient.
535+ // If `--force-check` flag is present, delete the upgrade transient.
536536 if ( true === (bool ) Utils \get_flag_value ( $ assoc_args , 'force-check ' , false ) ) {
537- delete_site_transient ( $ this ->item_type . ' s ' );
537+ delete_site_transient ( $ this ->upgrade_transient );
538538 }
539539
540540 // Force WordPress to check for updates if `--skip-update-check` is not passed.
You can’t perform that action at this time.
0 commit comments