From 87a9bf2b37f0d7bbd91e010284e09be192c94b10 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 23 Feb 2016 19:18:27 +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. Built from https://develop.svn.wordpress.org/trunk@36645 git-svn-id: http://core.svn.wordpress.org/trunk@36612 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 4 ++-- wp-includes/class-wp-customize-setting.php | 2 +- wp-includes/nav-menu.php | 6 +++--- wp-includes/version.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 937689bdf0..67c8ac1271 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/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/wp-includes/class-wp-customize-setting.php b/wp-includes/class-wp-customize-setting.php index 4593729886..9f72966734 100644 --- a/wp-includes/class-wp-customize-setting.php +++ b/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/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 9627d27edb..e2f0a1a26b 100644 --- a/wp-includes/nav-menu.php +++ b/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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index df70e95e95..d8dc638801 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36644'; +$wp_version = '4.5-alpha-36645'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.