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
This commit is contained in:
Weston Ruter 2016-07-18 22:52:29 +00:00
parent 409fb0332e
commit 11cb0cfe86
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ final class WP_Post_Type {
*
* @since 4.6.0
* @access public
* @var array $cap
* @var object $cap
*/
public $cap;

View File

@ -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.