Skip to content

Commit 6a204af

Browse files
swissspidyCopilot
andauthored
Update src/Plugin_Command.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4a09071 commit 6a204af

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Plugin_Command.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -172,17 +172,6 @@ public function check_update( $args, $assoc_args ) {
172172
// Force WordPress to check for updates.
173173
call_user_func( $this->upgrade_refresh );
174174

175-
$all = Utils\get_flag_value( $assoc_args, 'all', false );
176-
177-
if ( $all ) {
178-
$args = array_map(
179-
function ( $file ) {
180-
return Utils\get_plugin_name( $file );
181-
},
182-
array_keys( $this->get_all_plugins() )
183-
);
184-
}
185-
186175
$items = $this->get_item_list();
187176

188177
// Filter to only plugins with available updates

0 commit comments

Comments
 (0)