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
This commit is contained in:
Ryan Boren 2012-01-11 21:39:01 +00:00
parent 285247786e
commit 77958da0d2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {