From 2b44b1a2442519f1d635064f78dd091724339c3b Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 11 Jan 2012 21:39:01 +0000 Subject: [PATCH] Update register_taxonomy_for_object_type() phpdoc to reflect that the post_type must be a string only, no arrays allowed. Props transom. fixes #19795 git-svn-id: http://svn.automattic.com/wordpress/trunk@19730 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 8fabcd375..d28a86236 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -427,7 +427,7 @@ function get_taxonomy_labels( $tax ) { * @uses $wp_taxonomies Modifies taxonomy object * * @param string $taxonomy Name of taxonomy object - * @param array|string $object_type Name of the object type + * @param string $object_type Name of the object type * @return bool True if successful, false if not */ function register_taxonomy_for_object_type( $taxonomy, $object_type) {