diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index d9930e21e4..8f0b602c75 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -491,7 +491,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) { } /** - * Unregister a taxonomy. + * Unregisters a taxonomy. * * Can not be used to unregister built-in taxonomies. * @@ -501,7 +501,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) { * @global array $wp_taxonomies List of taxonomies. * * @param string $taxonomy Taxonomy name. - * @return bool|WP_Error True on success, WP_Error on failure. + * @return bool|WP_Error True on success, WP_Error on failure or if the taxonomy doesn't exist. */ function unregister_taxonomy( $taxonomy ) { if ( ! taxonomy_exists( $taxonomy ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 52385d6ffa..0e55b470bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta3-36960'; +$wp_version = '4.5-beta3-36961'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.