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
This commit is contained in:
Jon Cave 2012-10-25 22:29:37 +00:00
parent fd8eeb4b8a
commit c8c4a683c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;