[wp-trac] [WordPress Trac] #54795: Bootstrap: Move navigation post type hooks to `admin-filters.php`

WordPress Trac noreply at wordpress.org
Thu Apr 28 17:39:50 UTC 2022


#54795: Bootstrap: Move navigation post type hooks to `admin-filters.php`
--------------------------------------------------+-----------------------
 Reporter:  dlh                                   |       Owner:  audrasjb
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  6.0
Component:  Bootstrap/Load                        |     Version:
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch commit assigned-for-commit  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by antonvlasenko):

 Replying to [comment:14 SergeyBiryukov]:
 > I think there are a few more calls that can be safely moved for
 consistency, see [attachment:"54795.diff"].

 In my pull request, I was more focused on hooks that definitely wouldn't
 work on the front end (because callback functions weren't available for
 them).
 Unfortunately, due to the time limit, it was not possible for me to
 manually check all ~400 hooks in the `default-filters.php` file. I only
 did some automated checks.
 Thank you for the extra effort on this task.

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


More information about the wp-trac mailing list