[wp-trac] [WordPress Trac] #61962: Admin: remove_menu_page throws PHP warning when $menu is null
WordPress Trac
noreply at wordpress.org
Tue Nov 19 16:57:41 UTC 2024
#61962: Admin: remove_menu_page throws PHP warning when $menu is null
-----------------------------------------+------------------------------
Reporter: xbigx | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses: administration
-----------------------------------------+------------------------------
Comment (by releaseadvt4):
Hey @xbigx! For instant results you can use below code
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61962#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list