Skip to content

Commit 93006ad

Browse files
committed
Use generic object as param for WP_Term constructor
1 parent 6816649 commit 93006ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-term.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public static function get_instance( $term_id, $taxonomy = null ) {
192192
*
193193
* @since 4.4.0
194194
*
195-
* @param WP_Term|object $term Term object.
195+
* @param object $term Term object.
196196
*/
197197
public function __construct( $term ) {
198198
foreach ( get_object_vars( $term ) as $key => $value ) {

0 commit comments

Comments
 (0)