From c8c4a683c140139cebeedd674f5c5f1271010e4c Mon Sep 17 00:00:00 2001 From: Jon Cave Date: Thu, 25 Oct 2012 22:29:37 +0000 Subject: [PATCH] Fix documentation typo: s/WP_Erorr/WP_Error/. See #21593. git-svn-id: https://develop.svn.wordpress.org/trunk@22309 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 861c625a56..1e06fe4a67 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -309,7 +309,7 @@ function is_taxonomy_hierarchical($taxonomy) { * @param string $taxonomy Name of taxonomy object * @param array|string $object_type Name of the object type for the taxonomy object. * @param array|string $args See above description for the two keys values. - * @return null|WP_Error WP_Erorr if errors, otherwise null. + * @return null|WP_Error WP_Error if errors, otherwise null. */ function register_taxonomy( $taxonomy, $object_type, $args = array() ) { global $wp_taxonomies, $wp;