WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r49138 r49927  
    17641764 *
    17651765 * @param string $menu_slug The slug of the menu.
    1766  * @return array|bool The removed menu on success, false if not found.
     1766 * @return array|false The removed menu on success, false if not found.
    17671767 */
    17681768function remove_menu_page( $menu_slug ) {
     
    17881788 * @param string $menu_slug    The slug for the parent menu.
    17891789 * @param string $submenu_slug The slug of the submenu.
    1790  * @return array|bool The removed submenu on success, false if not found.
     1790 * @return array|false The removed submenu on success, false if not found.
    17911791 */
    17921792function remove_submenu_page( $menu_slug, $submenu_slug ) {
Note: See TracChangeset for help on using the changeset viewer.