From 77958da0d23f4a3d1918b5c8ee9154c199b763a4 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@19730 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 8fabcd3751..d28a86236d 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) {