From 568838bebda9f6572dcb22e460a08d9eb34e841b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 31 Oct 2016 06:34:34 +0000 Subject: [PATCH] Docs: Update the DocBlock description for `WP_Query::is_single()` to mention that it works for any post types excluding pages. Props ryankienstra. Fixes #38225. Built from https://develop.svn.wordpress.org/trunk@39052 git-svn-id: http://core.svn.wordpress.org/trunk@38994 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-query.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index a6cd1cf401..7f3c22a785 100644 --- a/wp-includes/class-wp-query.php +++ b/wp-includes/class-wp-query.php @@ -3816,7 +3816,7 @@ class WP_Query { /** * Is the query for an existing single post? * - * Works for any post type, except attachments and pages + * Works for any post type excluding pages. * * If the $post parameter is specified, this function will additionally * check if the query is for one of the Posts specified. diff --git a/wp-includes/version.php b/wp-includes/version.php index e92eca2a75..6229131868 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39051'; +$wp_version = '4.7-beta1-39052'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.