You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, using the wp-cli command wp media regenerate effectively bypasses this plugin, because the includes/class-meauh-admin.php file is only loaded when is_admin() is true.
I'd submit a pull request for this (basically, all that needs to be added is an additional check for defined( 'WP_CLI' ) && WP_CLI), but this repository doesn't seem to be up to date with the version of the plugin on w.org (v1.1.8). If there's an up-to-date repo I should make a PR to instead, please let me know.
Thanks! This is a great plugin otherwise.
The text was updated successfully, but these errors were encountered:
Hi there,
Currently, using the wp-cli command
wp media regenerate
effectively bypasses this plugin, because the includes/class-meauh-admin.php file is only loaded whenis_admin()
is true.I'd submit a pull request for this (basically, all that needs to be added is an additional check for
defined( 'WP_CLI' ) && WP_CLI
), but this repository doesn't seem to be up to date with the version of the plugin on w.org (v1.1.8). If there's an up-to-date repo I should make a PR to instead, please let me know.Thanks! This is a great plugin otherwise.
The text was updated successfully, but these errors were encountered: