[wp-trac] [WordPress Trac] #30843: get_ancestors filter: Parameter is missing
WordPress Trac
noreply at wordpress.org
Fri Dec 26 02:34:41 UTC 2014
#30843: get_ancestors filter: Parameter is missing
--------------------------+-----------------------------
Reporter: tmatsuur | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Since English is not good, we will write the main points only.
wp-includes/taxonomy.php: 4335-4345
{{{
/**
* Filter a given object's ancestors.
*
* @since 3.1.0
*
* @param array $ancestors An array of object ancestors.
* @param int $object_id Object ID.
* @param string $object_type Type of object.
* @param string $resource_type Type of resource $object_type is.
*/
return apply_filters( 'get_ancestors', $ancestors, $object_id,
$object_type );
}}}
New param $resource_type has not been added.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30843>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list