It’s really annoying. Worse than that, this message is set by url-flag. On dismissal, it sets a flag in the url, and as soon as you change to a different page, message is there again.
Plugin Support
Marija
(@marijastuntcoders)
Hello, and thank you for reaching out.
A new update (including the compatibility update) is planned to be released in the coming weeks.
Please let us know if there is anything else we can assist you with.
Kind regards,
Marija
I found a solution that worked, and it was buried deep in the code, quite a feat to isolate.
In \facebook-for-woocommerce\vendor\woocommerce\grow\src\Checks\WCCompatibility.php
just completely replaced the get_latest_wc_versions function like this:
private function get_latest_wc_versions() {
// Return an empty array instead of trying to fetch and set the transient
return [];
}
Finally, no more annoying messages. Took a couple of tries until I found the actual source of the message. As it the message didn’t even have a custom css class that could be filtered for.
You know, you told me the same some months ago. The message was briefly gone, but came back the release after that. Just remove it for good. Really no need to have such resilient admin messages for such a low-priority issue like version not tested.
-
This reply was modified 12 months ago by
ftjs2025.
Isn’t this to check agains Woocommerce version?
The current message is about the WP version which, to me, looks like the other file in the same folder with function:
private function check_wp_version() {
global $wp_version;
if ( $this->compare_major_version( $this->plugin_data['TestedWP'], $wp_version, '<' ) ) {
add_action( 'admin_notices', [ $this, 'wp_not_tested' ] );
}
return true;
}
Should this not be the one you need to rewrite?
Plugin Support
Marija
(@marijastuntcoders)
Hi @darkallman ,
It’s okay to use this as a workaround, but the vendor directory can’t be modified, as it’s managed by the composer file (and therefore any changes made will be overwritten on the next composer run).
Please let us know if there is anything else we can assist you with.
Kind regards,
Marija