mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user