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
This commit is contained in:
parent
6693acdb24
commit
49a47bb255
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue