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.


git-svn-id: https://develop.svn.wordpress.org/trunk@38097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2016-07-18 22:51:39 +00:00
parent 4a39dde8f5
commit 1aa4b6f87f

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;