[wp-trac] [WordPress Trac] #18850: hidden admin page
WordPress Trac
noreply at wordpress.org
Tue Apr 4 17:57:59 UTC 2023
#18850: hidden admin page
----------------------------+----------------------
Reporter: ibotty | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
----------------------------+----------------------
Comment (by renathoc):
> This is already possible as mentioned in comment 11 or more easily just
use add_submenu_page with a parent ID of null which is a method widely
adopted at this point.
Just adding that probably the `null` is not a good option anymore, since
it will try to run a `strpos` passing `null` as first argument, and PHP 8
is giving a deprecation notice for that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18850#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list