Javier Gobea
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] In WooCommerce 10.8.X, the province isn’t displayed in PortugalThanks for checking. You were right, and after more testing I found the cause on our side. Leaving it here in case someone hits the same thing.
The Portuguese provinces on our store are added by our MRW carrier plugin (woocommerce-mrw-carrier), which hooks the woocommerce_states filter. The states are still loaded fine under 10.8.1: get_states(‘PT’) returns all 20 districts in both 10.7 and 10.8, and the filter callback is still registered. So that part was never the problem.
What changed is the country locale for Portugal. In 10.8 the PT locale sets the state field to hidden and not required. The provinces still exist in the data, but the field is no longer rendered at checkout. MRW only adds the province data, it does not set the locale, so when 10.8 hid the field, MRW’s shipping zones had nothing to match against. No province, no shipping zone, no checkout.
Fixed it by overriding the PT locale to show the state field and make it required again:
add_filter('woocommerce_get_country_locale', function ($locale) { if (!isset($locale['PT']) || !is_array($locale['PT'])) { $locale['PT'] = array(); } $locale['PT']['state'] = array_merge( isset($locale['PT']['state']) ? $locale['PT']['state'] : array(), array('required' => true, 'hidden' => false, 'label' => 'Distrito') ); return $locale; }, 100);So not a WooCommerce bug, just the new PT locale defaults meeting a carrier plugin that depends on the province field. No need for the System Status Report then. Cheers.
Version 269.2 still has the security flaw.
Forum: Plugins
In reply to: [Discount Rules for WooCommerce] FlycartWoocommerceCart::get_cart_objectHi. I am using last versión 2.6.5
I don’t know when owner update but I ser that this library was out in 2.6.4
what clase could I use?
thanks.
pd: i open a support ticket in your web
Forum: Plugins
In reply to: [Download Manager] Vulnerability IssueBut those of us in the free version receive this warning. I for example receive it as a vulnerability in ManageWP and my customers see a vulnerability warning that I am unable to fix, because there is no update to fix it.
Can you as developers talk to patchstack to remove the warning from the free version (if they are able to differentiate them).
Thank you.
Forum: Plugins
In reply to: [Download Manager] Vulnerability IssueIt’s not just the hosting. The warning comes from https://patchstack.com/database/vulnerability/download-manager/wordpress-download-manager-pro-plugin-6-3-0-unauthenticated-sensitive-information-disclosure-vulnerability?_a_id=350 which is a vulnerability database.
The update you have released for the pro version will have to be released for the Free version.
Forum: Plugins
In reply to: [Social Sharing Plugin - Social Warfare] No longer on the WP repository?Could you update the free download in your site? Si we can manually update to the new version. Several system advice us about vulnerability
Hi Kdubyo. I have the same problem with the same plugins.
How did you solve the issue? You said that it wasn’t the Yoast SEO plugin, but only work when I disabled it.
Could you help me?
Thanks.
Forum: Plugins
In reply to: [Antispam Bee] Comments not working after UpdateI had the same issue.
After I have deleted my cache (I use WP-Rocket), works fine.
Forum: Plugins
In reply to: [Idea Factory] Idea's AuthorOk, that it will perfect. If you add author, we can see who send the idea, and changue if it’s necesary.
Thanks!!
Forum: Plugins
In reply to: [Idea Factory] Idea's AuthorWhere Can I see the Idea author?
I don’t have that info when edit the idea.
Thanks.