Docs: Remove `@static` notations from method DocBlocks in `wp-admin/*` 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@42745 git-svn-id: http://core.svn.wordpress.org/trunk@42575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
de6906a045
commit
0fea564b7d
|
@ -242,8 +242,6 @@ class Core_Upgrader extends WP_Upgrader {
|
|||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $offered_ver The offered version, of the format x.y.z.
|
||||
* @return bool True if we should update to the offered version, otherwise false.
|
||||
*/
|
||||
|
|
|
@ -41,7 +41,6 @@ class Language_Pack_Upgrader extends WP_Upgrader {
|
|||
* Hooked to the {@see 'upgrader_process_complete'} action by default.
|
||||
*
|
||||
* @since 3.7.0
|
||||
* @static
|
||||
*
|
||||
* @param false|WP_Upgrader $upgrader Optional. WP_Upgrader instance or false. If `$upgrader` is
|
||||
* a Language_Pack_Upgrader instance, the method will bail to
|
||||
|
|
|
@ -24,8 +24,6 @@ final class WP_Internal_Pointers {
|
|||
* Individual pointers (e.g. wp390_widgets) can be disabled using the following:
|
||||
* remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) );
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $hook_suffix The current admin page.
|
||||
*/
|
||||
public static function enqueue_scripts( $hook_suffix ) {
|
||||
|
@ -102,8 +100,6 @@ final class WP_Internal_Pointers {
|
|||
*
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $pointer_id The pointer ID.
|
||||
* @param string $selector The HTML elements, on which the pointer should be attached.
|
||||
* @param array $args Arguments to be passed to the pointer JS (see wp-pointer.js).
|
||||
|
@ -160,8 +156,6 @@ final class WP_Internal_Pointers {
|
|||
*
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param int $user_id User ID.
|
||||
*/
|
||||
public static function dismiss_pointers_for_new_users( $user_id ) {
|
||||
|
|
|
@ -187,8 +187,6 @@ final class WP_Screen {
|
|||
*
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @global string $hook_suffix
|
||||
*
|
||||
* @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
|
||||
|
@ -421,8 +419,6 @@ final class WP_Screen {
|
|||
*
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param WP_Screen $screen A screen object.
|
||||
* @param string $help Help text.
|
||||
*/
|
||||
|
|
|
@ -846,7 +846,6 @@ class WP_Upgrader {
|
|||
* Creates a lock using WordPress options.
|
||||
*
|
||||
* @since 4.5.0
|
||||
* @static
|
||||
*
|
||||
* @param string $lock_name The name of this unique lock.
|
||||
* @param int $release_timeout Optional. The duration in seconds to respect an existing lock.
|
||||
|
@ -892,7 +891,6 @@ class WP_Upgrader {
|
|||
* Releases an upgrader lock.
|
||||
*
|
||||
* @since 4.5.0
|
||||
* @static
|
||||
*
|
||||
* @see WP_Upgrader::create_lock()
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42744';
|
||||
$wp_version = '5.0-alpha-42745';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue