hanmedia
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] PHP Warning: Undefined propertyHi, for now i dont see the message again. So it seems it works.
Forum: Plugins
In reply to: [Contextual Related Posts] PHP Warning: Undefined propertyI check it today and let you know.
Forum: Plugins
In reply to: [Contextual Related Posts] PHP Warning: Undefined propertyHi, my PHP version is: 8.4.13
Hi,
currently, the plugin’s WP‑CLI commands are only registered when the plugin is active.
It just occurred to me that this could possibly be implemented by moving the WP‑CLI registration into a Must‑Use plugin. This way, the commands can be used regardless of the plugin’s status on the site.Thanks for the reply.
Yes, “Do not generate image metadata” in WP All Import prevents WordPress from creating image sizes and normally also suppresses the
wp_generate_attachment_metadatahook. That’s why I was surprised to see AVIF files still being created during import.Since your plugin might be using other hooks (e.g.
add_attachment) or scanning the upload folder, it’s hard to prevent conversion during bulk import.Would it be possible to add an option like “Convert only via WP-CLI – do not convert on upload”?
That would make it easier to avoid unexpected conversions and give users full control via CLI.