mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
409fb0332e
commit
11cb0cfe86
@ -309,7 +309,7 @@ final class WP_Post_Type {
|
|||||||
*
|
*
|
||||||
* @since 4.6.0
|
* @since 4.6.0
|
||||||
* @access public
|
* @access public
|
||||||
* @var array $cap
|
* @var object $cap
|
||||||
*/
|
*/
|
||||||
public $cap;
|
public $cap;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user