WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:05:09 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-internal-pointers.php

    r42343 r42745  
    2424     * Individual pointers (e.g. wp390_widgets) can be disabled using the following:
    2525     *     remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) );
    26      *
    27      * @static
    2826     *
    2927     * @param string $hook_suffix The current admin page.
     
    103101     * @since 3.3.0
    104102     *
    105      * @static
    106      *
    107103     * @param string $pointer_id The pointer ID.
    108104     * @param string $selector The HTML elements, on which the pointer should be attached.
     
    161157     * @since 3.3.0
    162158     *
    163      * @static
    164      *
    165159     * @param int $user_id User ID.
    166160     */
Note: See TracChangeset for help on using the changeset viewer.