From ebfc39e754898f7a5b12e880b04832edb969e7b9 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 4 Nov 2015 15:46:49 +0000 Subject: [PATCH] Docs: Add a missing return description for `_get_custom_object_labels()`, a private core helper function. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35503 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/post-functions.php b/src/wp-includes/post-functions.php index 34452c462e..2c4cda07ec 100644 --- a/src/wp-includes/post-functions.php +++ b/src/wp-includes/post-functions.php @@ -1411,6 +1411,7 @@ function get_post_type_labels( $post_type_object ) { * * @param object $object A custom-something object. * @param array $nohier_vs_hier_defaults Hierarchical vs non-hierarchical default labels. + * @return object Object containing labels for the given custom-something object. */ function _get_custom_object_labels( $object, $nohier_vs_hier_defaults ) { $object->labels = (array) $object->labels;