Make WordPress Core

Changeset 32452


Ignore:
Timestamp:
05/07/2015 05:32:29 AM (10 years ago)
Author:
DrewAPicture
Message:

Ensure the optional parameter in get_object_taxonomies() is documented as such.

See #32246.

File:
1 edited

Legend:

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

    r32451 r32452  
    172172 *
    173173 * @param array|string|object $object Name of the type of taxonomy object, or an object (row from posts)
    174  * @param string $output The type of output to return, either taxonomy 'names' or 'objects'. 'names' is the default.
     174 * @param string              $output Optional. The type of output to return in the array. Accepts either
     175 *                            taxonomy 'names' or 'objects'. Default 'names'.
    175176 * @return array The names of all taxonomy of $object_type.
    176177 */
    177 function get_object_taxonomies($object, $output = 'names') {
     178function get_object_taxonomies( $object, $output = 'names' ) {
    178179    global $wp_taxonomies;
    179180
Note: See TracChangeset for help on using the changeset viewer.