WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (21 months ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

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

    r46134 r46596  
    170170         * @since 3.0.0
    171171         *
    172          * @param array $tags The acceptable HTML tags for use as menu containers.
    173          *                    Default is array containing 'div' and 'nav'.
     172         * @param string[] $tags The acceptable HTML tags for use as menu containers.
     173         *                       Default is array containing 'div' and 'nav'.
    174174         */
    175175        $allowed_tags = apply_filters( 'wp_nav_menu_container_allowedtags', array( 'div', 'nav' ) );
Note: See TracChangeset for help on using the changeset viewer.