From dcf2676b1629bbea608ded4ae51b20be15392764 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 23 Oct 2015 12:02:24 +0000 Subject: [PATCH] Docs: Use consistent naming and capitalization of menu names in `add_submenu_page()` wrappers. Props atomicjack, Mckilem. Fixes #34360. Built from https://develop.svn.wordpress.org/trunk@35373 git-svn-id: http://core.svn.wordpress.org/trunk@35337 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 21a0dbbbbe..926e5e62c7 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -1196,7 +1196,7 @@ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, } /** - * Add sub menu page to the tools main menu. + * Add sub menu page to the Tools main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1217,7 +1217,7 @@ function add_management_page( $page_title, $menu_title, $capability, $menu_slug, } /** - * Add sub menu page to the options main menu. + * Add sub menu page to the Settings main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1238,7 +1238,7 @@ function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $f } /** - * Add sub menu page to the themes main menu. + * Add sub menu page to the Appearance main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1259,7 +1259,7 @@ function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the plugins main menu. + * Add sub menu page to the Plugins main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1325,7 +1325,7 @@ function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, } /** - * Add sub menu page to the posts main menu. + * Add sub menu page to the Posts main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1346,7 +1346,7 @@ function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the media main menu. + * Add sub menu page to the Media main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1367,7 +1367,7 @@ function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the links main menu. + * Add sub menu page to the Links main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1388,7 +1388,7 @@ function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the pages main menu. + * Add sub menu page to the Pages main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1409,7 +1409,7 @@ function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the comments main menu. + * Add sub menu page to the Comments main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu.