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
Some templates have their @Version set to <version> - <something else>
This makes the version_compare function fail to check if the override template is up to date.
To Reproduce
Copy the template file from templates/emails/customer-on-hold-renewal-order.php to your theme/woocommere/emails/customer-on-hold-renewal-order.php
Go to wp-admin > WooCommerce > Status > Subscriptions Template Theme Overrides
Notice that even though the override template version is the same as the original template Woo complains that it is outdated
Additional context
Ticket 9580591-zd-a8c
The text was updated successfully, but these errors were encountered:
Interesting ... at the risk of overthinking things, I wonder if it is also worth considering a change in Woo Core, since a change to WC_Admin_Status::get_file_version() could solve this, and because, in terms of PHP norms, it's probably not all that unexpected for a @version tag to have addition information beyond the version number itself.
We'd possibly still need to fix things on our side, because of our support policy for older versions of WooCommerce means we wouldn't immediately benefit from this, but I guess this could potentially catch out other plugins/extensions/customizations, too (and so an upstream fix might have some broader value) 🤔
Describe the bug
Some templates have their @Version set to
<version> - <something else>
This makes the version_compare function fail to check if the override template is up to date.
To Reproduce
Additional context
Ticket 9580591-zd-a8c
The text was updated successfully, but these errors were encountered: