Docs: Add missing @since
tags for add menu page functions.
Props keesiemeijer. Fixes #42882. git-svn-id: https://develop.svn.wordpress.org/trunk@42394 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a35b7f31be
commit
e47feac514
@ -1105,6 +1105,8 @@ function uninstall_plugin( $plugin ) {
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 1.5.0
|
||||||
|
*
|
||||||
* @global array $menu
|
* @global array $menu
|
||||||
* @global array $admin_page_hooks
|
* @global array $admin_page_hooks
|
||||||
* @global array $_registered_pages
|
* @global array $_registered_pages
|
||||||
@ -1175,6 +1177,8 @@ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $func
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 1.5.0
|
||||||
|
*
|
||||||
* @global array $submenu
|
* @global array $submenu
|
||||||
* @global array $menu
|
* @global array $menu
|
||||||
* @global array $_wp_real_parent_file
|
* @global array $_wp_real_parent_file
|
||||||
@ -1256,6 +1260,8 @@ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability,
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 1.5.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1276,6 +1282,8 @@ function add_management_page( $page_title, $menu_title, $capability, $menu_slug,
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 1.5.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1296,6 +1304,8 @@ function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $f
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.0.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1316,6 +1326,8 @@ function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $fun
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 3.0.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1336,6 +1348,8 @@ function add_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $f
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.1.3
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1360,6 +1374,8 @@ function add_users_page( $page_title, $menu_title, $capability, $menu_slug, $fun
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1380,6 +1396,8 @@ function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug,
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1400,6 +1418,8 @@ function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $fun
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1420,6 +1440,8 @@ function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $fun
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1440,6 +1462,8 @@ function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $fun
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
@ -1460,6 +1484,8 @@ function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $fun
|
|||||||
* The function which is hooked in to handle the output of the page must check
|
* The function which is hooked in to handle the output of the page must check
|
||||||
* that the user has the required capability as well.
|
* that the user has the required capability as well.
|
||||||
*
|
*
|
||||||
|
* @since 2.7.0
|
||||||
|
*
|
||||||
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
* @param string $page_title The text to be displayed in the title tags of the page when the menu is selected.
|
||||||
* @param string $menu_title The text to be used for the menu.
|
* @param string $menu_title The text to be used for the menu.
|
||||||
* @param string $capability The capability required for this menu to be displayed to the user.
|
* @param string $capability The capability required for this menu to be displayed to the user.
|
||||||
|
Loading…
Reference in New Issue
Block a user