wp-includes/class-wp-term.php:197Constructor.
$termobject public function __construct( $term ) { foreach ( get_object_vars( $term ) as $key => $value ) { $this->$key = $value; } }Introduced in 4.4.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$term retyped from WP_Term|object to object.verified against sourcesrc/wp-includes/class-wp-term.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.