From ada01be7605af8c74213c2e8a914cdf822608c97 Mon Sep 17 00:00:00 2001
From: Ali Shan <alishanvr@gmail.com>
Date: Sat, 20 Jun 2020 04:21:24 +0500
Subject: [PATCH] @staticvar removed

---
 wp-admin/includes/class-wp-filesystem-ftpext.php    | 1 -
 wp-admin/includes/class-wp-list-table.php           | 2 --
 wp-admin/includes/class-wp-ms-themes-list-table.php | 1 -
 wp-admin/includes/deprecated.php                    | 2 --
 wp-admin/includes/media.php                         | 2 --
 wp-admin/includes/screen.php                        | 2 --
 wp-admin/includes/template.php                      | 4 ----
 wp-admin/includes/theme.php                         | 2 --
 wp-admin/includes/widgets.php                       | 2 --
 wp-admin/update-core.php                            | 2 --
 10 files changed, 20 deletions(-)

diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php
index d165b2bc3e..cddbd631a2 100644
--- a/wp-admin/includes/class-wp-filesystem-ftpext.php
+++ b/wp-admin/includes/class-wp-filesystem-ftpext.php
@@ -581,7 +581,6 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
 	}
 
 	/**
-	 * @staticvar bool $is_windows
 	 * @param string $line
 	 * @return array
 	 */
diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php
index 7f9ab03c5b..4ecb927e64 100644
--- a/wp-admin/includes/class-wp-list-table.php
+++ b/wp-admin/includes/class-wp-list-table.php
@@ -1109,8 +1109,6 @@ class WP_List_Table {
 	 *
 	 * @since 3.1.0
 	 *
-	 * @staticvar int $cb_counter
-	 *
 	 * @param bool $with_id Whether to set the id attribute or not
 	 */
 	public function print_column_headers( $with_id = true ) {
diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php
index 96b738608d..d5b285e619 100644
--- a/wp-admin/includes/class-wp-ms-themes-list-table.php
+++ b/wp-admin/includes/class-wp-ms-themes-list-table.php
@@ -217,7 +217,6 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
 	}
 
 	/**
-	 * @staticvar string $term
 	 * @param WP_Theme $theme
 	 * @return bool
 	 */
diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php
index 89d7eec437..e4b84b8e36 100644
--- a/wp-admin/includes/deprecated.php
+++ b/wp-admin/includes/deprecated.php
@@ -754,8 +754,6 @@ function wp_dashboard_quick_press_output() {
  * @since 2.7.0
  * @deprecated 3.3.0 Use wp_editor()
  * @see wp_editor()
- *
- * @staticvar int $num
  */
 function wp_tiny_mce( $teeny = false, $settings = false ) {
 	_deprecated_function( __FUNCTION__, '3.3.0', 'wp_editor()' );
diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php
index c02cdcdb73..9ee7556a92 100644
--- a/wp-admin/includes/media.php
+++ b/wp-admin/includes/media.php
@@ -616,8 +616,6 @@ function wp_iframe( $content_func, ...$args ) {
  *
  * @global int $post_ID
  *
- * @staticvar int $instance
- *
  * @param string $editor_id
  */
 function media_buttons( $editor_id = 'content' ) {
diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php
index 345bc8b4f2..f675302c75 100644
--- a/wp-admin/includes/screen.php
+++ b/wp-admin/includes/screen.php
@@ -11,8 +11,6 @@
  *
  * @since 2.7.0
  *
- * @staticvar array $column_headers
- *
  * @param string|WP_Screen $screen The screen you want the headers for
  * @return string[] The column header labels keyed by column ID.
  */
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 5641f061a2..74352dfad5 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -603,8 +603,6 @@ function list_meta( $meta ) {
  *
  * @since 2.5.0
  *
- * @staticvar string $update_nonce
- *
  * @param array $entry
  * @param int   $count
  * @return string
@@ -1236,8 +1234,6 @@ function _get_plugin_from_callback( $callback ) {
  *
  * @global array $wp_meta_boxes
  *
- * @staticvar bool $already_sorted
- *
  * @param string|WP_Screen $screen  The screen identifier. If you have used add_menu_page() or
  *                                  add_submenu_page() to create a new screen (and hence screen_id)
  *                                  make sure your menu slug conforms to the limits of sanitize_key()
diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php
index b6e44ad9ae..1839c939cb 100644
--- a/wp-admin/includes/theme.php
+++ b/wp-admin/includes/theme.php
@@ -162,8 +162,6 @@ function theme_update_available( $theme ) {
  *
  * @since 3.8.0
  *
- * @staticvar object $themes_update
- *
  * @param WP_Theme $theme WP_Theme object.
  * @return string|false HTML for the update link, or false if invalid info was passed.
  */
diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php
index d3bdf2032c..a74896cc54 100644
--- a/wp-admin/includes/widgets.php
+++ b/wp-admin/includes/widgets.php
@@ -126,8 +126,6 @@ function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) {
  *
  * @global array $wp_registered_widgets
  *
- * @staticvar int $i
- *
  * @param array $params
  * @return array
  */
diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
index 1af08bb9b2..0c4391ea01 100644
--- a/wp-admin/update-core.php
+++ b/wp-admin/update-core.php
@@ -31,8 +31,6 @@ if ( ! current_user_can( 'update_core' ) && ! current_user_can( 'update_themes'
  * @global string $wp_local_package Locale code of the package.
  * @global wpdb   $wpdb             WordPress database abstraction object.
  *
- * @staticvar bool $first_pass
- *
  * @param object $update
  */
 function list_core_update( $update ) {
-- 
2.21.0.windows.1

