Fix Email Footer Text #37
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This morning @dougaitken informed me via slack that the issue around custom email footer text was still lingering. While we did remove the email template over-rides, I failed to notice the logic in
inc/wc-calypso-bridge-email-site-title.php
which is filtering the footer text too.The logic was added in woocommerce/wc-api-dev#32 by @justinshreve so wondering if this is okay to remove, or if there is still a flow where this can be problematic.
Since this code runs against all pressable woo installs, part of me feels like we should just remove it, and look at other ways to fix the initial problem these filters were aiming to solve. But really I'd be interested to hear the back story because the initial PR steps to create the problem seem pretty edge case, and I wasn't sure if it was changing the site title in calypso or in wp-admin.
Confirmed that this branch fixes #7