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
This commit is contained in:
Sergey Biryukov 2015-10-23 12:02:24 +00:00
parent c49ada7d75
commit dcf2676b16

View File

@ -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.