Docs: Use the correct variable name for the $post_ID
parameter in the DocBlock for wp_add_trashed_suffix_to_post_name_for_trashed_posts()
.
See #11863. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36727 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aed2535da9
commit
9b231ff3f8
@ -6090,7 +6090,7 @@ function _prime_post_caches( $ids, $update_term_cache = true, $update_meta_cache
|
|||||||
* @access private
|
* @access private
|
||||||
*
|
*
|
||||||
* @param string $post_name Slug.
|
* @param string $post_name Slug.
|
||||||
* @param string $post__not_in Optional. Post ID that should be ignored. Default 0.
|
* @param string $post_ID Optional. Post ID that should be ignored. Default 0.
|
||||||
*/
|
*/
|
||||||
function wp_add_trashed_suffix_to_post_name_for_trashed_posts( $post_name, $post_ID = 0 ) {
|
function wp_add_trashed_suffix_to_post_name_for_trashed_posts( $post_name, $post_ID = 0 ) {
|
||||||
$trashed_posts_with_desired_slug = get_posts( array(
|
$trashed_posts_with_desired_slug = get_posts( array(
|
||||||
|
Loading…
Reference in New Issue
Block a user