Question
Sometimes WP Toolkit does not detect plugin updates: inside WP Toolkit there are no newer versions, but inside WordPress dashboard newer version of a plugin is shown. Or vice versa: WP Toolkit shows an update, but the plugin page itself does not detect it inside WordPress admin dashboard.
Answer
WP Toolkit checks for the update using the native wp-cli utility. It interacts with a plugin to detect newer versions. So the versions are shown in WP Toolkit and the ones in the standard WP plugin update dashboard (Wordpress > Plugins page) should match.
The plugin page itself may not show any information about the update or show some version that WordPress itself could not detect if the plugin uses a different update mechanism (for example, a paid plugin can do so) standard WordPress utility may not detect this update or plugin itself does not see it since it is using different update procedure. In both cases, contact plugin vendor is required.
It is possible to check plugin updates via CLI with the command like below:
# plesk ext wp-toolkit --wp-cli -instance-id INSTANCE_ID -- plugin status
3 installed plugins:
UI akismet 4.1.6
I hello-dolly 1.7.2
D maintenance.php
Legend: I = Inactive, D = Drop-In, U = Update Available
Note: To get the instance ID, the following command can be used:
# plesk ext wp-toolkit --list
The bottom line is: we do not care what shows plugin page, But what show Wordress > Plugins page should match what shows WP Toolkit page.
In ideal updates in WP Toolkit should match updates in WordPress Dashboard plugin page: WordPress by default uses wp-cron.php task to check for update: task is executed every time page is reloaded. However plugin WP-Control (maybe there are others) may disable it task so versions show in Plesk may not match what you see in WordPress admin dashboard.
Comments
0 comments
Please sign in to leave a comment.