[wp-trac] [WordPress Trac] #55966: safecss_filter_attr() returns empty if containing min()

WordPress Trac noreply at wordpress.org
Wed Aug 10 01:06:25 UTC 2022


#55966: safecss_filter_attr() returns empty if containing min()
--------------------------------------+---------------------
 Reporter:  uxl                       |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Formatting                |     Version:  6.0
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  css
--------------------------------------+---------------------

Comment (by andrewserong):

 @johnregan3 the patch is testing nicely for me, thanks for putting it
 together! Just an update that we've adopted this updated Regex in the
 Gutenberg plugin in https://github.com/WordPress/gutenberg/pull/43004 as
 it resolves issues with style output for the work in progress style engine
 project: https://github.com/WordPress/gutenberg/issues/38167

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


More information about the wp-trac mailing list