mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user