Make WordPress Core


Ignore:
Timestamp:
01/23/2026 06:13:53 PM (8 months ago)
Author:
westonruter
Message:

Docs: Add missing descriptions to wp_nav_menu_max_depth() and do_core_upgrade().

Developed in https://github.com/WordPress/wordpress-develop/pull/10570

Follow-up to [61512], [32642], [32654].

Props rejaulalomkhan, westonruter, huzaifaalmesbah.
See #64224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r61454 r61520  
    673673
    674674/**
     675 * Adds a CSS class to display the max depth of the navigation menu.
     676 *
    675677 * @since 3.0.0
    676678 *
    677  * @global int $_wp_nav_menu_max_depth
     679 * @global int $_wp_nav_menu_max_depth Maximum depth of the navigation menu.
    678680 *
    679  * @param string $classes
    680  * @return string
     681 * @param string $classes Existing CSS classes for the body tag.
     682 * @return string Modified CSS classes including the menu max depth class.
    681683 */
    682684function wp_nav_menu_max_depth( $classes ) {
Note: See TracChangeset for help on using the changeset viewer.