From 391ff2f639affbc4950232d9f285b1721b481ff8 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: http://core.svn.wordpress.org/trunk@22309 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;