extension-command icon indicating copy to clipboard operation
extension-command copied to clipboard

Pathological plugin makes `plugin list` inconsistent with `plugin verify-checksums`

Open kitchin opened this issue 5 years ago • 1 comments

See: https://wordpress.org/support/topic/cannot-update-powerpress-plugin/ The plugin Powerpress mistakenly put plugin headers in two php files, powerpress.php and powerpress-network.php.

Arguably wp-cli should handle this better. WP Dashboard handles it by listing both plugins in wp-admin/plugins.php and allowing an update, at least on the first one. The developer fixed the plugin and clicking update resolves the problem.

In wp-cli we get an inconsistent listing when running plugin verify-checksums after plugin list. Should probably show an error or warning on plugin list. Current behavior mixes up the path-based name of the plugin.

plugin list output:

powerpress/powerpress,active,available,8.4 powerpress/powerpress-network,inactive,available,1.0.1

plugin verify-checksums output:

Warning: Could not retrieve the checksums for version 8.4 of plugin powerpress, skipping. Warning: Could not retrieve the checksums for version 8.4 of plugin powerpress, skipping.

kitchin avatar Oct 30 '20 10:10 kitchin

@kitchin Is this still an issue?

danielbachhuber avatar Jul 28 '22 14:07 danielbachhuber