mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Docs: Wrap a couple of hook name references in inline @see
tags in the hook docs for custom_menu_order
and menu_order
.
Inline `@see` tags in the context of hooks are parsed as links to hook pages in the Code Reference. See #32246. Built from https://develop.svn.wordpress.org/trunk@35027 git-svn-id: http://core.svn.wordpress.org/trunk@34992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
270d3f422c
commit
f60bd8d827
@ -258,7 +258,7 @@ uksort($menu, "strnatcasecmp"); // make it all pretty
|
|||||||
/**
|
/**
|
||||||
* Filter whether to enable custom ordering of the administration menu.
|
* Filter whether to enable custom ordering of the administration menu.
|
||||||
*
|
*
|
||||||
* See the 'menu_order' filter for reordering menu items.
|
* See the {@see 'menu_order'} filter for reordering menu items.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
@ -275,7 +275,7 @@ if ( apply_filters( 'custom_menu_order', false ) ) {
|
|||||||
/**
|
/**
|
||||||
* Filter the order of administration menu items.
|
* Filter the order of administration menu items.
|
||||||
*
|
*
|
||||||
* A truthy value must first be passed to the 'custom_menu_order' filter
|
* 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:
|
* for this filter to work. Use the following to enable custom menu ordering:
|
||||||
*
|
*
|
||||||
* add_filter( 'custom_menu_order', '__return_true' );
|
* add_filter( 'custom_menu_order', '__return_true' );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35026';
|
$wp_version = '4.4-alpha-35027';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user