[wp-trac] [WordPress Trac] #33128: admin_menu not called when attachment form is loaded in a frame
WordPress Trac
noreply at wordpress.org
Sun Jul 26 13:36:10 UTC 2015
#33128: admin_menu not called when attachment form is loaded in a frame
--------------------------+---------------------------------
Reporter: cvedovini | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.2.2
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by SergeyBiryukov):
The [https://codex.wordpress.org/Plugin_API/Action_Reference/admin_menu
admin_menu] action is designed to run after the administration menu
structure is set up, and before the menu is displayed.
It's not related in any way to the media frame, so I'm not sure I see the
issue. Looks like `admin_init` is the proper action here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33128#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list