Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improper usage of the_content filter #270

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Conversation

GrigoreMihai
Copy link
Contributor

Summary

This issue was introduced with the fixes for this #159 .

The problem was the usage of the_content filter to render the shortcodes, although it had fixed the shortcode rendering it was not the proper place to use the_content filter as only a small part of the page was rendered there i.e. the field description.

The proposed fix uses the do_shortcode function before outputting the field description.

I tested with the solution and the reviews are working as expected and also the shortcodes are still replaced.

Will affect visual aspect of the product

NO

Test instructions

Follow the linked issue details.

It is also good to test that #159 is not reintroduced.

Closes #261.

@pirate-bot
Copy link
Contributor

Plugin build for d9c64e6 is ready 🛎️!

@vytisbulkevicius vytisbulkevicius merged commit fb06378 into development Mar 26, 2024
3 checks passed
@pirate-bot
Copy link
Contributor

🎉 This PR is included in version 32.0.14 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Mar 26, 2024
@selul selul deleted the fix/261 branch September 6, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants