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. Built from https://develop.svn.wordpress.org/trunk@36727 git-svn-id: http://core.svn.wordpress.org/trunk@36694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b9a705394
commit
2846e3aaef
|
@ -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(
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-beta1-36726';
|
$wp_version = '4.5-beta1-36727';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue