[wp-trac] [WordPress Trac] #56391: safecss_filter_attr(): support rgba background-color

WordPress Trac noreply at wordpress.org
Tue Aug 16 15:24:21 UTC 2022


#56391: safecss_filter_attr(): support rgba background-color
--------------------------------------+------------------------------
 Reporter:  wildworks                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Security                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by wildworks):

 I initially submitted a PR that attempted to resolve this problem only in
 the block where it was occurring.
 https://github.com/WordPress/gutenberg/pull/39488

 However, it was considered that it would be better to support rgba in
 safecss_filter_attr, so I submitted a ticket.

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


More information about the wp-trac mailing list