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
This commit is contained in:
parent
28e63d3162
commit
2ecf2c2b13
@ -3146,6 +3146,8 @@ function sticky_class( $post_id = null ) {
|
|||||||
* @since 2.3.4
|
* @since 2.3.4
|
||||||
* @deprecated 3.5.0 Use get_post_ancestors()
|
* @deprecated 3.5.0 Use get_post_ancestors()
|
||||||
* @see get_post_ancestors()
|
* @see get_post_ancestors()
|
||||||
|
*
|
||||||
|
* @param WP_Post &$post Post object, passed by reference (unused).
|
||||||
*/
|
*/
|
||||||
function _get_post_ancestors( &$post ) {
|
function _get_post_ancestors( &$post ) {
|
||||||
_deprecated_function( __FUNCTION__, '3.5' );
|
_deprecated_function( __FUNCTION__, '3.5' );
|
||||||
|
Loading…
Reference in New Issue
Block a user