Docs: Remove @static notations from property DocBlocks in wp-admin/* and wp-includes/* classes.

This tag has been used in the past, but should no longer be used. Just using the `static` keyword in code is enough for PhpDocumentor on PHP5+ to recognize static variables and methods, and PhpDocumentor will mark them as static.

Props birgire.
See #42803.
Built from https://develop.svn.wordpress.org/trunk@42747


git-svn-id: http://core.svn.wordpress.org/trunk@42577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-02-25 20:32:30 +00:00
parent 08227812a0
commit b026fde152
11 changed files with 1 additions and 23 deletions

View File

@ -141,8 +141,6 @@ final class WP_Screen {
/** /**
* Stores old string-based help. * Stores old string-based help.
* *
* @static
*
* @var array * @var array
*/ */
private static $_old_compat_help = array(); private static $_old_compat_help = array();
@ -160,8 +158,6 @@ final class WP_Screen {
* *
* @since 3.3.0 * @since 3.3.0
* *
* @static
*
* @var array * @var array
*/ */
private static $_registry = array(); private static $_registry = array();

View File

@ -30,7 +30,6 @@ class WP_oEmbed {
* A list of an early oEmbed providers. * A list of an early oEmbed providers.
* *
* @since 4.0.0 * @since 4.0.0
* @static
* @var array * @var array
*/ */
public static $early_providers = array(); public static $early_providers = array();

View File

@ -20,8 +20,6 @@ class WP_Customize_Control {
* Used when sorting two instances whose priorities are equal. * Used when sorting two instances whose priorities are equal.
* *
* @since 4.1.0 * @since 4.1.0
*
* @static
* @var int * @var int
*/ */
protected static $instance_count = 0; protected static $instance_count = 0;

View File

@ -24,8 +24,6 @@ class WP_Customize_Panel {
* Used when sorting two instances whose priorities are equal. * Used when sorting two instances whose priorities are equal.
* *
* @since 4.1.0 * @since 4.1.0
*
* @static
* @var int * @var int
*/ */
protected static $instance_count = 0; protected static $instance_count = 0;

View File

@ -24,8 +24,6 @@ class WP_Customize_Section {
* Used when sorting two instances whose priorities are equal. * Used when sorting two instances whose priorities are equal.
* *
* @since 4.1.0 * @since 4.1.0
*
* @static
* @var int * @var int
*/ */
protected static $instance_count = 0; protected static $instance_count = 0;

View File

@ -135,7 +135,6 @@ class WP_Customize_Setting {
* Cache of multidimensional values to improve performance. * Cache of multidimensional values to improve performance.
* *
* @since 4.4.0 * @since 4.4.0
* @static
* @var array * @var array
*/ */
protected static $aggregated_multidimensionals = array(); protected static $aggregated_multidimensionals = array();

View File

@ -43,8 +43,6 @@ class WP_Tax_Query {
* Standard response when the query should not return any rows. * Standard response when the query should not return any rows.
* *
* @since 3.2.0 * @since 3.2.0
*
* @static
* @var string * @var string
*/ */
private static $no_results = array( private static $no_results = array(

View File

@ -21,7 +21,6 @@ final class WP_Theme implements ArrayAccess {
/** /**
* Headers for style.css files. * Headers for style.css files.
* *
* @static
* @var array * @var array
*/ */
private static $file_headers = array( private static $file_headers = array(
@ -41,7 +40,6 @@ final class WP_Theme implements ArrayAccess {
/** /**
* Default themes. * Default themes.
* *
* @static
* @var array * @var array
*/ */
private static $default_themes = array( private static $default_themes = array(
@ -60,7 +58,6 @@ final class WP_Theme implements ArrayAccess {
/** /**
* Renamed theme tags. * Renamed theme tags.
* *
* @static
* @var array * @var array
*/ */
private static $tag_map = array( private static $tag_map = array(
@ -158,7 +155,6 @@ final class WP_Theme implements ArrayAccess {
* *
* Default is false. Can be set with the {@see 'wp_cache_themes_persistently'} filter. * Default is false. Can be set with the {@see 'wp_cache_themes_persistently'} filter.
* *
* @static
* @var bool * @var bool
*/ */
private static $persistently_cache; private static $persistently_cache;
@ -168,7 +164,6 @@ final class WP_Theme implements ArrayAccess {
* *
* By default the bucket is not cached, so this value is useless. * By default the bucket is not cached, so this value is useless.
* *
* @static
* @var bool * @var bool
*/ */
private static $cache_expiration = 1800; private static $cache_expiration = 1800;

View File

@ -101,7 +101,6 @@ class WP_User {
private $site_id = 0; private $site_id = 0;
/** /**
* @static
* @since 3.3.0 * @since 3.3.0
* @var array * @var array
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-42746'; $wp_version = '5.0-alpha-42747';
/** /**
* 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.

View File

@ -19,8 +19,6 @@ class WP_Widget_Calendar extends WP_Widget {
* Ensure that the ID attribute only appears in the markup once * Ensure that the ID attribute only appears in the markup once
* *
* @since 4.4.0 * @since 4.4.0
*
* @static
* @var int * @var int
*/ */
private static $instance = 0; private static $instance = 0;