mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-27 04:20:14 +00:00
Docs: Remove @staticvar tags from core.
The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x. Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs. Props alishanvr, jrf. Fixes #50426. git-svn-id: https://develop.svn.wordpress.org/trunk@48109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -581,7 +581,6 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* @staticvar bool $is_windows
|
||||
* @param string $line
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
@@ -217,7 +217,6 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* @staticvar string $term
|
||||
* @param WP_Theme $theme
|
||||
* @return bool
|
||||
*/
|
||||
|
||||
@@ -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()' );
|
||||
|
||||
@@ -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' ) {
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user