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
This commit is contained in:
parent
04a1ea0b39
commit
391ff2f639
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue