Add a changelog entry for the `$resource_type` parameter added to the `get_ancestors` filter in 4.1.1.
Props dimadin. See #31925. git-svn-id: https://develop.svn.wordpress.org/trunk@32351 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7138b7e1bd
commit
9d9fbf6a5b
|
@ -4672,7 +4672,7 @@ function get_ancestors( $object_id = 0, $object_type = '', $resource_type = '' )
|
|||
* Filter a given object's ancestors.
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @since 4.1.0 Introduced the `$resource_type` parameter.
|
||||
* @since 4.1.1 Introduced the `$resource_type` parameter.
|
||||
*
|
||||
* @param array $ancestors An array of object ancestors.
|
||||
* @param int $object_id Object ID.
|
||||
|
|
Loading…
Reference in New Issue