Post Terms: Removing wp_kses_post causing issue#68810
Post Terms: Removing wp_kses_post causing issue#68810benazeer-ben wants to merge 1 commit intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
I think this change makes sense and is a good one. I think it is necessary to solve the PHP coding standards error. |
|
Hi @benazeer-ben |
|
Based on this comment, I'm closing this PR. |
What?
Fixes: #68742
Why?
The bg color of the prefix and suffix format is different from the normal display.
How?
Removing wp_kses_post which causing the issue.
As mentioned in this ticket
This probably isn't really necessary, but for consistency with the other blocks that have RichText fields and server-render those fields, I thought we could add it in. (Happy to close this out if folks think it doesn't need it).This removal mightn't affect anything.
Testing Instructions
Screenshots or screencast
Uploading Screenshare - 2025-01-21 8_38_06 PM.mp4…