WordPress.org

Make WordPress Core

Changeset 19730


Ignore:
Timestamp:
01/11/12 21:39:01 (4 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r19729 r19730  
    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 */ 
Note: See TracChangeset for help on using the changeset viewer.