Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEAUH_Attachment class not loaded by wp-cli #21

Open
synthetiv opened this issue Nov 9, 2016 · 0 comments · May be fixed by #22
Open

MEAUH_Attachment class not loaded by wp-cli #21

synthetiv opened this issue Nov 9, 2016 · 0 comments · May be fixed by #22

Comments

@synthetiv
Copy link

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 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.

@jmslbam jmslbam linked a pull request Jun 8, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant