mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Docs: Fix the types for some properties and parameters that use the generic object
type.
See #50768 Built from https://develop.svn.wordpress.org/trunk@49119 git-svn-id: http://core.svn.wordpress.org/trunk@48881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e3d280ffd8
commit
6b7ba33d68
@ -22,7 +22,7 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
|
|||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @var object
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $plugin = '';
|
public $plugin = '';
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class Theme_Upgrader_Skin extends WP_Upgrader_Skin {
|
|||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @var object
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $theme = '';
|
public $theme = '';
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ class WP_List_Table {
|
|||||||
* The current screen.
|
* The current screen.
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
* @var object
|
* @var WP_Screen
|
||||||
*/
|
*/
|
||||||
protected $screen;
|
protected $screen;
|
||||||
|
|
||||||
@ -1092,7 +1092,7 @@ class WP_List_Table {
|
|||||||
* Filters the list table sortable columns for a specific screen.
|
* Filters the list table sortable columns for a specific screen.
|
||||||
*
|
*
|
||||||
* The dynamic portion of the hook name, `$this->screen->id`, refers
|
* The dynamic portion of the hook name, `$this->screen->id`, refers
|
||||||
* to the ID of the current screen, usually a string.
|
* to the ID of the current screen.
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*
|
*
|
||||||
|
@ -20,7 +20,7 @@ class WP_Upgrader_Skin {
|
|||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @var object
|
* @var WP_Upgrader
|
||||||
*/
|
*/
|
||||||
public $upgrader;
|
public $upgrader;
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ class WP_Query {
|
|||||||
* Holds the contents of a post, page, category, attachment.
|
* Holds the contents of a post, page, category, attachment.
|
||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var object|array
|
* @var WP_Term|WP_Post_Type|WP_Post|WP_User|null
|
||||||
*/
|
*/
|
||||||
public $queried_object;
|
public $queried_object;
|
||||||
|
|
||||||
@ -3457,7 +3457,7 @@ class WP_Query {
|
|||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @return object
|
* @return WP_Term|WP_Post_Type|WP_Post|WP_User|null The queried object.
|
||||||
*/
|
*/
|
||||||
public function get_queried_object() {
|
public function get_queried_object() {
|
||||||
if ( isset( $this->queried_object ) ) {
|
if ( isset( $this->queried_object ) ) {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-49118';
|
$wp_version = '5.6-alpha-49119';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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