mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
f660ffb601
commit
74fc4c6603
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user