From 76e493c2814199dcf21486f667fafb2516841dbb Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 19 Oct 2010 07:38:42 +0000 Subject: [PATCH] Full @since's for 3.1.0. git-svn-id: http://svn.automattic.com/wordpress/trunk@15842 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/default-list-tables.php | 4 ++-- wp-includes/functions.php | 12 ++++-------- wp-includes/link-template.php | 4 ++-- wp-includes/post.php | 7 +++---- wp-includes/taxonomy.php | 4 ++-- 5 files changed, 13 insertions(+), 18 deletions(-) diff --git a/wp-admin/includes/default-list-tables.php b/wp-admin/includes/default-list-tables.php index dcbff0e06..cc29bc226 100644 --- a/wp-admin/includes/default-list-tables.php +++ b/wp-admin/includes/default-list-tables.php @@ -651,7 +651,7 @@ class WP_Posts_Table extends WP_List_Table { /** * Outputs the hidden row displayed when inline editing * - * @since 3.1 + * @since 3.1.0 */ function inline_edit() { global $mode; @@ -1719,7 +1719,7 @@ class WP_Terms_Table extends WP_List_Table { /** * Outputs the hidden row displayed when inline editing * - * @since 3.1 + * @since 3.1.0 */ function inline_edit() { global $tax; diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 61c53202a..931f8de30 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4341,16 +4341,14 @@ function _wp_mysql_week( $column ) { /** * Finds hierarchy loops using a callback function that maps objects to parents. * - * @since 3.1 + * @since 3.1.0 + * @access private * * @param callback $callback function that accepts ( ID, callback_arg, ... ) 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 - * - * @internal - * * @return array IDs of all members of loop */ function wp_find_hierarchy_loop( $callback, $start, $start_parent, $callback_args = array() ) { @@ -4368,7 +4366,8 @@ function wp_find_hierarchy_loop( $callback, $start, $start_parent, $callback_arg * For every step of the algorithm, the hare takes two steps and the tortoise one. * If the hare ever laps the tortoise, there must be a loop. * - * @since 3.1 + * @since 3.1.0 + * @access private * * @param callback $callback function that accupts ( ID, callback_arg, ... ) and outputs parent_ID * @param $start The ID to start the loop check at @@ -4377,9 +4376,6 @@ function wp_find_hierarchy_loop( $callback, $start, $start_parent, $callback_arg * @param bool $_return_loop Return loop members or just detect presence of loop? * Only set to true if you already know the given $start is part of a loop * (otherwise the returned array might include branches) - * - * @internal - * * @return mixed scalar ID of some arbitrary member of the loop, or array of IDs of all members of loop if $_return_loop */ function wp_find_hierarchy_loop_tortoise_hare( $callback, $start, $override = array(), $callback_args = array(), $_return_loop = false ) { diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index b536ac507..5869c9954 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -675,7 +675,7 @@ function edit_tag_link( $link = '', $before = '', $after = '', $tag = null ) { /** * Retrieve edit term url. * - * @since 3.1 + * @since 3.1.0 * * @param int $term_id Term ID * @param string $taxonomy Taxonomy @@ -706,7 +706,7 @@ function get_edit_term_link( $term_id, $taxonomy, $object_type = '' ) { /** * Display or retrieve edit term link with formatting. * - * @since 3.1 + * @since 3.1.0 * * @param string $link Optional. Anchor text. * @param string $before Optional. Display before edit link. diff --git a/wp-includes/post.php b/wp-includes/post.php index f44814695..20f81e176 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -494,8 +494,7 @@ function get_post_format( $post ) { /** * Check if a post has a particular format * - * @since 3.1 - * + * @since 3.1.0 * @uses has_term() * * @param string $format The format to check for @@ -4803,7 +4802,7 @@ function _show_post_preview() { /** * Returns the post's parent's post_ID * - * @since 3.1 + * @since 3.1.0 * * @param int $post_id * @@ -4822,7 +4821,7 @@ function wp_get_post_parent_id( $post_ID ) { * * Attached to the wp_insert_post_parent filter. * - * @since 3.1 + * @since 3.1.0 * @uses wp_find_hierarchy_loop() * * @param int $post_parent ID of the parent for the post we're checking. diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index edf23d57e..608df1b19 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2899,7 +2899,7 @@ function get_terms_to_edit( $post_id, $taxonomy = 'post_tag' ) { /** * Returns the term's parent's term_ID * - * @since 3.1 + * @since 3.1.0 * * @param int $term_id * @param string $taxonomy @@ -2919,7 +2919,7 @@ function wp_get_term_taxonomy_parent_id( $term_id, $taxonomy ) { * * Attached to the wp_update_term_parent filter. * - * @since 3.1 + * @since 3.1.0 * @uses wp_find_hierarchy_loop() * * @param int $parent term_id of the parent for the term we're checking.