Changes between Initial Version and Version 1 of Ticket #49500, comment 16
- Timestamp:
- 03/26/2020 02:43:54 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49500, comment 16
initial v1 1 1 Replying to [comment:15 helgatheviking]: 2 > @BackuPs if you do this: 3 > 4 > >Actually the solution is even simpeler. I will just rename my add_action and do_action in which case i dont have to check for the wp_version. 5 > 6 > Then you might ''recreate'' the issue that this hook was meant to solve... single Walker and fields from competing Walkers not displaying. I've seen plenty of themes using the menu Walker and people contacting me thinking my plugin wasn't working since my fields didn't display. having this hook as a community hook as greatly reduced that and getting it in to core should make it go away entirely.... assuming all theme/plugin devs do a version check and stop switching the Walker as of WP 5.4. 7 > 2 8 3 > Something like this should do it and it's what I'll be adding to my plugin soon. 9 4 > … … 28 23 29 24 }}} 25 26 27 alss has been explained and discussed here https://make.wordpress.org/core/2020/02/25/wordpress-5-4-introduces-new-hooks-to-add-custom-fields-to-menu-items/