From 773151a9bf0bbe5be01494625b73d6d62a4ffa34 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 23 Feb 2016 19:17:11 +0000 Subject: [PATCH] Docs: Use markdown instead of HTML for `code` formatting. Fixes phpdoc usage in [36622], [36608], [35724], [35307]. See #35898. See #35869. See #34738. See #33552. git-svn-id: https://develop.svn.wordpress.org/trunk@36645 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-manager.php | 4 ++-- src/wp-includes/class-wp-customize-setting.php | 2 +- src/wp-includes/nav-menu.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 937689bdf0..67c8ac1271 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -246,7 +246,7 @@ final class WP_Customize_Manager { * * This allows Core components to be excluded from being instantiated by * filtering them out of the array. Note that this filter generally runs - * during the plugins_loaded action, so it cannot be added + * during the `plugins_loaded` action, so it cannot be added * in a theme. * * @since 4.4.0 @@ -703,7 +703,7 @@ final class WP_Customize_Manager { * * Fires when the {@see WP_Customize_Manager::set_post_value()} method is called. * - * This is useful for WP_Customize_Setting instances to watch + * This is useful for `WP_Customize_Setting` instances to watch * in order to update a cached previewed value. * * @since 4.4.0 diff --git a/src/wp-includes/class-wp-customize-setting.php b/src/wp-includes/class-wp-customize-setting.php index 4593729886..9f72966734 100644 --- a/src/wp-includes/class-wp-customize-setting.php +++ b/src/wp-includes/class-wp-customize-setting.php @@ -358,7 +358,7 @@ class WP_Customize_Setting { * Clear out the previewed-applied flag for a multidimensional-aggregated value whenever its post value is updated. * * This ensures that the new value will get sanitized and used the next time - * that WP_Customize_Setting::_multidimensional_preview_filter() + * that `WP_Customize_Setting::_multidimensional_preview_filter()` * is called for this setting. * * @since 4.4.0 diff --git a/src/wp-includes/nav-menu.php b/src/wp-includes/nav-menu.php index 9627d27edb..e2f0a1a26b 100644 --- a/src/wp-includes/nav-menu.php +++ b/src/wp-includes/nav-menu.php @@ -196,7 +196,7 @@ function is_nav_menu_item( $menu_item_id = 0 ) { /** * Creates a navigation menu. * - * Note that $menu_name is expected to be pre-slashed. + * Note that `$menu_name` is expected to be pre-slashed. * * @since 3.0.0 * @@ -255,7 +255,7 @@ function wp_delete_nav_menu( $menu ) { /** * Save the properties of a menu or create a new menu with those properties. * - * Note that $menu_data is expected to be pre-slashed. + * Note that `$menu_data` is expected to be pre-slashed. * * @since 3.0.0 * @@ -351,7 +351,7 @@ function wp_update_nav_menu_object( $menu_id = 0, $menu_data = array() ) { * Save the properties of a menu item or create a new one. * * The menu-item-title, menu-item-description, and menu-item-attr-title are expected - * to be pre-slashed since they are passed directly into wp_insert_post(). + * to be pre-slashed since they are passed directly into `wp_insert_post()`. * * @since 3.0.0 *