diff --git a/wp-includes/post.php b/wp-includes/post.php index 7ceff7b693..10dddf859b 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -2591,7 +2591,9 @@ function unregister_post_meta( $post_type, $meta_key ) { * @since 1.2.0 * * @param int $post_id Optional. Post ID. Default is the ID of the global `$post`. - * @return array Post meta for the given post. + * @return mixed An array of values. + * False for an invalid `$post_id` (non-numeric, zero, or negative value). + * An empty string if a valid but non-existing post ID is passed. */ function get_post_custom( $post_id = 0 ) { $post_id = absint( $post_id ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 00cd005511..8beec4dd60 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52794'; +$wp_version = '6.0-alpha-52795'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.