From ba40430e89ffd655b36bfcbc665744d9681080fb Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 1 Jul 2017 16:37:42 +0000 Subject: [PATCH] Docs: Add a valid return type for `post_preview()` and improve the DocBlock summary. See #41017. Built from https://develop.svn.wordpress.org/trunk@40985 git-svn-id: http://core.svn.wordpress.org/trunk@40835 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/post.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 8055a7b7dc..9dbc48f440 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1722,12 +1722,12 @@ function wp_create_post_autosave( $post_data ) { } /** - * Save draft or manually autosave for showing preview. + * Saves a draft or manually autosaves for the purpose of showing a post preview. * * @package WordPress * @since 2.7.0 * - * @return str URL to redirect to show the preview + * @return string URL to redirect to show the preview. */ function post_preview() { diff --git a/wp-includes/version.php b/wp-includes/version.php index 07281d29ec..0091a0fe64 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40984'; +$wp_version = '4.9-alpha-40985'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.