Docs: Add a missing return description for `_get_custom_object_labels()`, a private core helper function.

See #32246.

Built from https://develop.svn.wordpress.org/trunk@35503


git-svn-id: http://core.svn.wordpress.org/trunk@35467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-11-04 15:47:27 +00:00
parent 18852f07f2
commit fd10901db5
2 changed files with 2 additions and 1 deletions

View File

@ -1411,6 +1411,7 @@ function get_post_type_labels( $post_type_object ) {
* *
* @param object $object A custom-something object. * @param object $object A custom-something object.
* @param array $nohier_vs_hier_defaults Hierarchical vs non-hierarchical default labels. * @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 ) { function _get_custom_object_labels( $object, $nohier_vs_hier_defaults ) {
$object->labels = (array) $object->labels; $object->labels = (array) $object->labels;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-beta2-35502'; $wp_version = '4.4-beta2-35503';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.