Closed rinazrina closed 1 year ago
Thanks for opening this issue, @rinazrina!
Unfortunately, I'm not able to reproduce on my end. Can you verify you don't have any custom code interfering with the way Storefront renders the footer? I would suggest testing in a new WordPress fresh installation to make sure there are no plugins or custom code snippets that might be interfering.
It would also be helpful if you can tell us whether that's an issue that appeared after an update or you were experimenting it for a long time.
Thanks in advance!
Thank you for looking @Aljullu 🙏🏼
Can you verify you don't have any custom code interfering with the way Storefront renders the footer?
Yes, I don't have any custom codes on my test site.
It would also be helpful if you can tell us whether that's an issue that appeared after an update or you were experimenting it for a long time.
I'm not sure when it happened exactly. I just noticed this now when I got a report from a customer.
I've got a couple of similar reports from other users who are using Storefront child themes, one of them is Homestore.
Upon further checking, the issue seems to only happens when the site has a WP.com eCommerce plan, and not on WP.com Business plan. I've tested this using three of my test sites.
I hope that helps narrow down the issue.
5974789-zen
5969956-zen
Hey, I've been able to reproduce this issue using the https://github.com/Automattic/wc-calypso-bridge plugin locally.
The issue was recently introduced by this commit some days ago https://github.com/Automattic/wc-calypso-bridge/commit/410a81d48e043b0d2f8dc23519aa98a7845f0525#diff-574140c5ebef5f5a93893e45669a487fc8f736639e6eb3b19f0869e1735c95beR44-R45
I think the problem is the remove_action
is not working because the filter is not yet there when trying to remove it, then the add_action
adds another footer and we end up with two.
Maybe @xristos3490 can also have a look and help here, thanks! 🙏
I think the problem is the remove_action is not working because the filter is not yet there when trying to remove it, then the add_action adds another footer and we end up with two.
Hey @albarin! Great investigation skills! That is exactly the issue here.
I've opened a PR in The Bridge to resolve this here: https://github.com/Automattic/wc-calypso-bridge/pull/970 Will release it ASAP.
Great! Thanks a lot @xristos3490 🙌
The fix is included in the WC Calypso Bridge v2.0.2 and should be deployed in all sites by EOD.
Describe the bug
The site info on Footer appears twice on sites using Storefront and WooCommerce.
Isolating the problem (mark completed items with an [x]):
To Reproduce
Steps to reproduce the behavior:
Screenshots
Expected behavior
The site info on footer does not appear double.
Browser Environment
WordPress Environment
Storefront version 4.2.0 WooCommerce version 7.4.0