From 9b231ff3f8f61a723599353112c82e5fccbb181a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 26 Feb 2016 09:24:03 +0000 Subject: [PATCH] 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 --- src/wp-includes/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 4eed68d539..be08ae39e4 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -6089,8 +6089,8 @@ function _prime_post_caches( $ids, $update_term_cache = true, $update_meta_cache * @since 4.5.0 * @access private * - * @param string $post_name Slug. - * @param string $post__not_in Optional. Post ID that should be ignored. Default 0. + * @param string $post_name Slug. + * @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 ) { $trashed_posts_with_desired_slug = get_posts( array(