[wp-trac] [WordPress Trac] #55219: "current_theme_supports-{$feature}" filter doesn't run if no $args are passed

WordPress Trac noreply at wordpress.org
Tue Mar 1 16:05:29 UTC 2022


#55219: "current_theme_supports-{$feature}" filter doesn't run if no $args are
passed
----------------------------+-----------------------------
 Reporter:  helgatheviking  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.0
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52812" 52812]:
 {{{
 #!CommitTicketReference repository="" revision="52812"
 Themes: Make sure the `current_theme_supports-{$feature}` filter is
 consistently applied.

 Previously, the filter was not applied if there are no arguments passed to
 `current_theme_supports()`.

 Follow-up to [12350], [19682].

 Props helgatheviking, azouamauriac, pavanpatil1, SergeyBiryukov.
 Fixes #55219.
 }}}

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


More information about the wp-trac mailing list