Closed enricobattocchi closed 2 years ago
This PR can be summarized in the following changelog entry:
wp_slash
WP_Post
wp_update_post()
This PR can be acceptance tested by following these steps:
Custom HTML
script
style
<style> .whatever { font-size: 35px; } </style> <script> alert(1); </script>
QA can test this PR by following these steps:
*
This PR affects the following parts of the plugin, which may require extra testing:
Fixes DUPP-33
CR & Acceptance: 👍
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
wp_slash
call around aWP_Post
object (wp_update_post()
will take care of that)Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Custom HTML
block and insert some code with tags likescript
andstyle
, e.g.:Custom HTML
block!Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
*
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
*
UI changes
Documentation
Quality assurance
Fixes DUPP-33