diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 9ddd02c4de..72ce505fba 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -393,7 +393,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) { * @param array|string $object_type Object type or array of object types. * @param array $args Array of taxonomy registration arguments. */ - do_action( 'registered_taxonomy', $taxonomy, $object_type, $args ); + do_action( 'registered_taxonomy', $taxonomy, $object_type, (array) $taxonomy_object ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 4e42c95302..94d02ee51f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta4-39282'; +$wp_version = '4.7-beta4-39283'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.