From cf84f5dde593bb134ca20ca7b7c3556bd94c9fd8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 17 Mar 2017 17:26:27 +0000 Subject: [PATCH] Docs: Add a missing return description for `get_post_taxonomies()`. h/t deeptiboddapati. See #39130. git-svn-id: https://develop.svn.wordpress.org/trunk@40298 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index f8bc57d039..9ebc9d0d0b 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -3993,7 +3993,7 @@ function get_the_taxonomies( $post = 0, $args = array() ) { * @since 2.5.0 * * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. - * @return array + * @return array An array of all taxonomy names for the given post. */ function get_post_taxonomies( $post = 0 ) { $post = get_post( $post );