Docs: Use consistent naming and capitalization of menu names in add_submenu_page()
wrappers.
Props atomicjack, Mckilem. Fixes #34360. git-svn-id: https://develop.svn.wordpress.org/trunk@35373 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f8fa5c0e53
commit
bcb1e8eda2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user