Docs: Document the @return value of wp_add_trashed_suffix_to_post_name_for_post().

Props Shelob9.
Fixes #36728.

git-svn-id: https://develop.svn.wordpress.org/trunk@37334 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-05-01 10:15:51 +00:00
parent f660ffb601
commit 74fc4c6603

View File

@ -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;