From 443d5fc7d8c1309b38c7c405a5dee488c7d44b7c Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 19 Oct 2010 08:16:10 +0000 Subject: [PATCH] Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662. git-svn-id: https://develop.svn.wordpress.org/trunk@15846 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index eea86d7225..8ad588f771 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4339,16 +4339,15 @@ function _wp_mysql_week( $column ) { } /** - * Finds hierarchy loops using a callback function that maps objects to parents. + * Finds hierarchy loops using a callback function that maps object IDs to parent IDs. * * @since 3.1.0 * @access private * - * @param callback $callback function that accepts ( ID, callback_arg, ... ) and outputs parent_ID + * @param callback $callback function that accepts ( ID, $callback_args ) and outputs parent_ID * @param $start The ID to start the loop check at * @param $start_parent the parent_ID of $start to use instead of calling $callback( $start ). Use null to always use $callback - * @param array $override an array of ( ID => parent_ID, ... ) to use instead of $callback - * @param array $callback_arg optional additional arguments to send to $callback + * @param array $callback_args optional additional arguments to send to $callback * @return array IDs of all members of loop */ function wp_find_hierarchy_loop( $callback, $start, $start_parent, $callback_args = array() ) {