[wp-trac] [WordPress Trac] #42527: Admin menus: PHP warning "open_basedir restriction..." when `_wp_menu_output` is called
WordPress Trac
noreply at wordpress.org
Tue Nov 14 05:07:22 UTC 2017
#42527: Admin menus: PHP warning "open_basedir restriction..." when
`_wp_menu_output` is called
----------------------------+------------------------------
Reporter: darkskipper | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.8.3
Severity: normal | Resolution:
Keywords: | Focuses: administration
----------------------------+------------------------------
Comment (by dd32):
I don't think linking to external resources has ever been "supported" by
`add_menu_page()`, but it certainly does work, if only because we don't
explicitly prevent urls. Have you found any documentation referencing the
support anywhere by any chance?
While we could scatter a few `is_url()` like function calls throughout the
menu generation, I'm not sure it's worth actually supporting myself.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42527#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list