[wp-trac] [WordPress Trac] #56796: Naming of filters in `class-wp-theme-json-resolver.php` (`theme_json_*`)

WordPress Trac noreply at wordpress.org
Tue Oct 18 13:29:18 UTC 2022


#56796: Naming of filters in `class-wp-theme-json-resolver.php` (`theme_json_*`)
------------------------------+-----------------------------
 Reporter:  kebbet            |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.1
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"54631" 54631]:
 {{{
 #!CommitTicketReference repository="" revision="54631"
 Tests: Correct the `wp_theme_json_data_default` filter name in assertion
 messages.

 The `theme_json_default` filter was previously renamed to
 `wp_theme_json_data_default`.

 This commit updates the messages in `WP_Theme_JSON_Resolver` tests to
 match the new name.

 Follow-up to [54501], [54630].

 See #56796, #56835.
 }}}

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


More information about the wp-trac mailing list