Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #64771, comment 13


Ignore:
Timestamp:
03/04/2026 06:11:27 AM (5 months ago)
Author:
ozgursar

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64771, comment 13

    initial v1  
    1 == Reproduction Report
     1== Patch Testing Report
    22
    3 I couldn't reproduce this with or without Gutenberg plugin installed
     3Yesterday I wasn't able to reproduce the bug because I didn't notice the clear test instructions in the PR. Thanks to @r1k0 for pointing this out.
     4
     5Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11104
    46
    57=== Environment
     
    1618
    1719=== Steps taken
    18 1. Create a blank post
    19 2. Add a paragraph
    20 3. Edit in html mode to add the following:
     201. Followed the test steps provided in the PR for each test1 to test5
     212. ✅ Patch is solving the problem except the Test5 `foo&bar` additional classes
    2122
    22 {{{
    23 <p class="has-custom-css">my <span>custom</span> text</p>
    24 }}}
    25 
    26 4. Add the following additional css:
    27 
    28 {{{
    29 color: red;
    30 & span {color: blue}
    31 }}}
    32 
    33 5. ❌ Bug is not occurring
     23=== Expected result
     24- We are expecting the Additional CSS not to be changed after being edited by a user that doesn't have `unfiltered_html` capability.
    3425
    3526=== Screenshots/Screencast with results
    36 Editor
    37 [[Image(https://i.imgur.com/SrkStd4.png)]]
     27Test1 (Before Patch)
     28[[Image(https://i.imgur.com/YmfOrvv.png)]]
    3829
    39 Editor (HTML view)
    40 [[Image(https://i.imgur.com/v6n8nK5.png)]]
     30Test2 (Before Patch)
     31[[Image(https://i.imgur.com/75EGjR2.png)]]
    4132
    42 Frontend
    43 [[Image(https://i.imgur.com/j8SvUA6.png)]]
     33Test3 (Before Patch)
     34[[Image(https://i.imgur.com/QMkilvv.png)]]
     35
     36Test4 (Before Patch)
     37[[Image(https://i.imgur.com/J0ThJhi.png)]]
     38
     39Test5 (Before Patch)
     40[[Image(https://i.imgur.com/sgi24Y5.png)]]
     41
     42----
     43
     44Test1 (After Patch)
     45[[Image(https://i.imgur.com/J588fNp.png)]]
     46
     47Test2 (After Patch)
     48[[Image(https://i.imgur.com/JnoI2FG.png)]]
     49
     50Test3 (After Patch)
     51[[Image(https://i.imgur.com/Y6zqikA.png)]]
     52
     53Test4 (After Patch)
     54[[Image(https://i.imgur.com/5TgOtKj.png)]]
     55
     56Test5 (After Patch)
     57[[Image(https://i.imgur.com/gx2zeLF.png)]]