[wp-trac] [WordPress Trac] #55452: `safecss_filter_attr` removes background-images with URL parameters

WordPress Trac noreply at wordpress.org
Sat Mar 22 23:35:48 UTC 2025


#55452: `safecss_filter_attr` removes background-images with URL parameters
--------------------------+-----------------------------
 Reporter:  ryelle        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Future Release
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:  css
--------------------------+-----------------------------
Changes (by SirLouen):

 * keywords:  needs-patch => close
 * status:  new => closed
 * resolution:   => invalid


Comment:

 == Reproduction Report
 === Description
 This report can't validate that issue can be reproduced.


 === Environment
 - WordPress: 6.8-beta3-60042-src
 - PHP: 8.2.28
 - Server: nginx/1.27.4
 - Database: mysqli (Server: 8.4.4 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 134.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Nineteen 3.0
 - MU Plugins: None activated
 - Plugins:
   * Hello Dolly 1.7.2
   * Test Reports 1.2.0

 === Actual Results
 1.  ❌ Error condition doesn't occur anymore (reproduced).

 === Additional Notes
 - 3 Years has passed since the original report, maybe this has been sorted
 in the Gutenberg repo.
 There are multiple reports regarding this topic
 [https://github.com/WordPress/gutenberg/issues/40444 like this]

 === Supplemental Artifacts
 Copy/pasted original code:
 [[Image(https://i.imgur.com/MN6XHKL.png)]]

 Result
 [[Image(https://i.imgur.com/avGpHvS.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55452#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list