Make WordPress Core


Ignore:
Timestamp:
11/06/2023 09:25:02 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Replace incorrect @private tags.

The @private tag does not exist and is not supported. To indicate that something is private when in the global namespace, @access private should be used instead.

Reference: ​PHP Documentation Standards: PHPDoc tags.

Props jrf.
See #59651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/menu.php

    r56549 r57065  
    1414         * The hook fires before menus and sub-menus are removed based on user privileges.
    1515         *
    16          * @private
    1716         * @since 3.1.0
     17         * @access private
    1818         */
    1919        do_action( '_network_admin_menu' );
    … …  
    2525         * The hook fires before menus and sub-menus are removed based on user privileges.
    2626         *
    27          * @private
    2827         * @since 3.1.0
     28         * @access private
    2929         */
    3030        do_action( '_user_admin_menu' );
    … …  
    3636         * The hook fires before menus and sub-menus are removed based on user privileges.
    3737         *
    38          * @private
    3938         * @since 2.2.0
     39         * @access private
    4040         */
    4141        do_action( '_admin_menu' );
Note: See TracChangeset for help on using the changeset viewer.