In the docs, there is the flag --update-attachment-refs and would, I presume, update posts with regenerated media elements. Is my understanding wrong? Am I missing something?
My WP-CLI version: 2.12.0
Error message:
root@hostname:~# sudo -u www-data /opt/wp-cli --path="/var/www/test.mydomain.de" media regenerate --yes --update-attachment-refs
Error: Parameter errors:
unknown --update-attachment-refs parameter
Cheers
Thomas
In the docs, there is the flag
--update-attachment-refsand would, I presume, update posts with regenerated media elements. Is my understanding wrong? Am I missing something?My WP-CLI version: 2.12.0
Error message:
Cheers
Thomas