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
This commit is contained in:
parent
4cf5450a81
commit
2b44b1a244
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue