From 11cb0cfe86d158a64da5a885d68bd2d21343bad0 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 18 Jul 2016 22:52:29 +0000 Subject: [PATCH] Docs: Correct type of `WP_Post_Type::$cap` from `array` to `object`. Fixes typo introduced in r37890. The `WP_Post_Type::$cap` property is set to the return value of `get_post_type_capabilities()` which is an `object`. See #36217. Built from https://develop.svn.wordpress.org/trunk@38097 git-svn-id: http://core.svn.wordpress.org/trunk@38038 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-post-type.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-post-type.php b/wp-includes/class-wp-post-type.php index 5be7a16ed4..c08ca5e5bc 100644 --- a/wp-includes/class-wp-post-type.php +++ b/wp-includes/class-wp-post-type.php @@ -309,7 +309,7 @@ final class WP_Post_Type { * * @since 4.6.0 * @access public - * @var array $cap + * @var object $cap */ public $cap; diff --git a/wp-includes/version.php b/wp-includes/version.php index af2ca65c14..a1a9a45f39 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta3-38096'; +$wp_version = '4.6-beta3-38097'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.