[wp-trac] [WordPress Trac] #55234: PHP Notice: Undefined variable filters in WP_Theme_JSON::get_svg_filters()

WordPress Trac noreply at wordpress.org
Wed Feb 23 08:05:33 UTC 2022


#55234: PHP Notice:  Undefined variable filters in WP_Theme_JSON::get_svg_filters()
--------------------------+------------------------------
 Reporter:  vlad.olaru    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by vlad.olaru):

 Actually, besides the notice, the logic is also broken since `$filters`
 gets reset on each settings node with duotone.

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


More information about the wp-trac mailing list