Make WordPress Core

Changeset 61520


Ignore:
Timestamp:
01/23/2026 06:13:53 PM (4 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.

Location:
trunk/src/wp-admin
Files:
2 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 ) {
  • trunk/src/wp-admin/update-core.php

    r61455 r61520  
    841841 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    842842 *
    843  * @param bool $reinstall
     843 * @param bool $reinstall Optional. Whether to reinstall WordPress. Default false.
    844844 */
    845845function do_core_upgrade( $reinstall = false ) {
Note: See TracChangeset for help on using the changeset viewer.