Makes the My Eyes Are Up Here plugin compatible with WP-CLI
This package implements the fix created in Pull Request #22 of the My Eyes Are Up Here repository, as the original repository seems to have been abandoned.
This package is available on Packagist.
Before installation, make sure mu-plugins required with composer are installed in the mu-plugins directory.
Please add the following to the root of your composer.json
file. Make sure the installer path is set to the right mu-plugins path, calculated from the location of your composer.json
file.
"extra": {
"installer-paths": {
"../../mu-plugins/{$name}": [
"type:wordpress-muplugin"
]
}
}
As an alternative, you can also set the installer path for just this plugin.
"extra": {
"installer-paths": {
"../../mu-plugins/{$name}": [
"mentosmenno2/wp-cli-my-eyes-are-up-here"
]
}
}
After making sure you're prepared for the installation, require the package using Composer.
composer require mentosmenno2/wp-cli-my-eyes-are-up-here
You can now use the WP CLI media regenrate command to regenerate your images, and have them be cropped by My Eyes Are Up Here.
wp media regenerate