Update class-wp-json-taxonomies.php