WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42527, comment 1


Ignore:
Timestamp:
11/14/2017 05:07:46 AM (3 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42527, comment 1

    initial v1  
    1 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?
     1I don't think linking to external resources has ever been "supported" by `add_menu_page()`, but it certainly does work (edit: by passing a URL to the `$menu_slug` param), if only because we don't explicitly prevent urls. Have you found any documentation referencing the support anywhere by any chance?
    22
    33While we could scatter a few `is_url()` like function calls throughout the menu generation, I'm not sure it's worth actually supporting myself.