Make WordPress Core

Changeset 15846


Ignore:
Timestamp:
10/19/2010 08:16:10 AM (14 years ago)
Author:
nacin
Message:

Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662.

File:
1 edited

Legend:

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

    r15843 r15846  
    43404340
    43414341/**
    4342  * Finds hierarchy loops using a callback function that maps objects to parents.
     4342 * Finds hierarchy loops using a callback function that maps object IDs to parent IDs.
    43434343 *
    43444344 * @since 3.1.0
    43454345 * @access private
    43464346 *
    4347  * @param callback $callback function that accepts ( ID, callback_arg, ... ) and outputs parent_ID
     4347 * @param callback $callback function that accepts ( ID, $callback_args ) and outputs parent_ID
    43484348 * @param $start The ID to start the loop check at
    43494349 * @param $start_parent the parent_ID of $start to use instead of calling $callback( $start ).  Use null to always use $callback
    4350  * @param array $override an array of ( ID => parent_ID, ... ) to use instead of $callback
    4351  * @param array $callback_arg optional additional arguments to send to $callback
     4350 * @param array $callback_args optional additional arguments to send to $callback
    43524351 * @return array IDs of all members of loop
    43534352 */
Note: See TracChangeset for help on using the changeset viewer.