X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f..a7cd4c052013b423c6301153f68c7fdbaa2a447b:/wp-includes/category-template.php diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 7369fda9..0f97068f 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -66,7 +66,6 @@ function get_category_parents( $id, $link = false, $separator = '/', $nicename = * Retrieve post categories. * * @since 0.71 - * @uses $post * * @param int $id Optional, default to current post ID. The post ID. * @return array @@ -248,7 +247,6 @@ function get_the_category_list( $separator = '', $parents='', $post_id = false ) * As of 2.7, the function can be used anywhere if it is provided a post ID or post object. * * @since 1.2.0 - * @uses has_category() * * @param int|string|array $category Category ID, name or slug, or array of said. * @param int|object $post Optional. Post to check instead of the current post. (since 2.7.0) @@ -460,7 +458,7 @@ function wp_dropdown_categories( $args = '' ) { * @since 2.1.0 * * @param string|array $args Optional. Override default arguments. - * @return string HTML content only if 'echo' argument is 0. + * @return false|null|string HTML content only if 'echo' argument is 0. */ function wp_list_categories( $args = '' ) { $defaults = array( @@ -588,8 +586,8 @@ function wp_list_categories( $args = '' ) { * * @since 2.3.0 * - * @param array|string $args Optional. Override default arguments. - * @return array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument. + * @param array|string|null $args Optional. Override default arguments. + * @return null|false Generated tag cloud, only if no failures and 'array' is set for the 'format' argument. */ function wp_tag_cloud( $args = '' ) { $defaults = array( @@ -1301,7 +1299,7 @@ function get_the_term_list( $id, $taxonomy, $before = '', $sep = '', $after = '' /** * Filter the term links for a given taxonomy. * - * The dynamic portion of the filter name, $taxonomy, refers + * The dynamic portion of the filter name, `$taxonomy`, refers * to the taxonomy slug. * * @since 2.5.0 @@ -1323,7 +1321,7 @@ function get_the_term_list( $id, $taxonomy, $before = '', $sep = '', $after = '' * @param string $before Optional. Before list. * @param string $sep Optional. Separate items using this. * @param string $after Optional. After list. - * @return null|bool False on WordPress error. Returns null when displaying. + * @return false|null False on WordPress error. Returns null when displaying. */ function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) { $term_list = get_the_term_list( $id, $taxonomy, $before, $sep, $after );