From ff65d779085d54d0fe394fb1e4391b50f7d77483 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 03:38:11 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@35027 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/menu.php b/src/wp-admin/includes/menu.php index da4ba2cf83..26ce6f31e0 100644 --- a/src/wp-admin/includes/menu.php +++ b/src/wp-admin/includes/menu.php @@ -258,7 +258,7 @@ uksort($menu, "strnatcasecmp"); // make it all pretty /** * 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 * @@ -275,7 +275,7 @@ if ( apply_filters( 'custom_menu_order', false ) ) { /** * 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: * * add_filter( 'custom_menu_order', '__return_true' );