From 2ecf2c2b1396f8e16f4bc7fc7256bdd3453866f7 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 28 Feb 2016 18:32:41 +0000 Subject: [PATCH] Docs: Add missing documentation for the `&$post` parameter in the DocBlock for the deprecated `_get_post_ancestors()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36758 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/deprecated.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 8a44135966..6ec014c73c 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -3146,6 +3146,8 @@ function sticky_class( $post_id = null ) { * @since 2.3.4 * @deprecated 3.5.0 Use get_post_ancestors() * @see get_post_ancestors() + * + * @param WP_Post &$post Post object, passed by reference (unused). */ function _get_post_ancestors( &$post ) { _deprecated_function( __FUNCTION__, '3.5' );