mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP.
See #36913. git-svn-id: https://develop.svn.wordpress.org/trunk@37488 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -229,7 +229,7 @@ function add_menu_classes($menu) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter administration menus array with classes added for top-level items.
|
||||
* Filters administration menus array with classes added for top-level items.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
@@ -241,7 +241,7 @@ function add_menu_classes($menu) {
|
||||
uksort($menu, "strnatcasecmp"); // make it all pretty
|
||||
|
||||
/**
|
||||
* Filter whether to enable custom ordering of the administration menu.
|
||||
* Filters whether to enable custom ordering of the administration menu.
|
||||
*
|
||||
* See the {@see 'menu_order'} filter for reordering menu items.
|
||||
*
|
||||
@@ -258,7 +258,7 @@ if ( apply_filters( 'custom_menu_order', false ) ) {
|
||||
$default_menu_order = $menu_order;
|
||||
|
||||
/**
|
||||
* Filter the order of administration menu items.
|
||||
* Filters the order of administration menu items.
|
||||
*
|
||||
* A truthy value must first be passed to the {@see 'custom_menu_order'} filter
|
||||
* for this filter to work. Use the following to enable custom menu ordering:
|
||||
|
||||
Reference in New Issue
Block a user