From 49a47bb25502e746453a0195d9544d371795cc6e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 May 2016 10:16:29 +0000 Subject: [PATCH] Docs: Document the `@return` value of `wp_add_trashed_suffix_to_post_name_for_post()`. Props Shelob9. Fixes #36728. Built from https://develop.svn.wordpress.org/trunk@37334 git-svn-id: http://core.svn.wordpress.org/trunk@37300 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 9e2efe8f34..aae5db0a04 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -6112,7 +6112,7 @@ function wp_add_trashed_suffix_to_post_name_for_trashed_posts( $post_name, $post } /** - * Adds a trashed suffix For a given post. + * Adds a trashed suffix for a given post. * * Store its desired (i.e. current) slug so it can try to reclaim it * if the post is untrashed. @@ -6123,6 +6123,7 @@ function wp_add_trashed_suffix_to_post_name_for_trashed_posts( $post_name, $post * @access private * * @param WP_Post $post The post. + * @return string New slug for the post. */ function wp_add_trashed_suffix_to_post_name_for_post( $post ) { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index d44dc5e2e6..3214e954f9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37333'; +$wp_version = '4.6-alpha-37334'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.