[wp-trac] [WordPress Trac] #56577: Add short-circuit filter to `wp_setup_nav_menu_item`

WordPress Trac noreply at wordpress.org
Thu Jun 22 05:53:21 UTC 2023


#56577: Add short-circuit filter to `wp_setup_nav_menu_item`
-------------------------------------------------+---------------------
 Reporter:  david.binda                          |       Owner:  azaozz
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  Menus                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-testing-info has-patch commit  |     Focuses:
-------------------------------------------------+---------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"55979" 55979]:
 {{{
 #!CommitTicketReference repository="" revision="55979"
 Tests: Update the test for `pre_wp_setup_nav_menu_item` filter.

 This ensures that not only is the filter applied in
 `wp_setup_nav_menu_item()`, but also the actual output is tested.

 Follow-up to [55867], [55868].

 Props azaozz, ugyensupport.
 Fixes #56577.
 }}}

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


More information about the wp-trac mailing list