WordPress.org

Make WordPress Core

Ticket #19795: register_tax_for_object_type_doc.diff

File register_tax_for_object_type_doc.diff, 523 bytes (added by transom, 4 years ago)

docblock patch for register_taxonomy_for_object_type

  • taxonomy.php

     
    427427 * @uses $wp_taxonomies Modifies taxonomy object 
    428428 * 
    429429 * @param string $taxonomy Name of taxonomy object 
    430  * @param array|string $object_type Name of the object type 
     430 * @param string $object_type Name of the object type 
    431431 * @return bool True if successful, false if not 
    432432 */ 
    433433function register_taxonomy_for_object_type( $taxonomy, $object_type) {