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.

Built from https://develop.svn.wordpress.org/trunk@61520


git-svn-id: http://core.svn.wordpress.org/trunk@60831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2026-01-23 18:14:35 +00:00
parent 4f222cc8fd
commit 761bb19a5b
3 changed files with 7 additions and 5 deletions

View File

@@ -672,12 +672,14 @@ if ( is_nav_menu( $nav_menu_selected_id ) ) {
}
/**
* Adds a CSS class to display the max depth of the navigation menu.
*
* @since 3.0.0
*
* @global int $_wp_nav_menu_max_depth
* @global int $_wp_nav_menu_max_depth Maximum depth of the navigation menu.
*
* @param string $classes
* @return string
* @param string $classes Existing CSS classes for the body tag.
* @return string Modified CSS classes including the menu max depth class.
*/
function wp_nav_menu_max_depth( $classes ) {
global $_wp_nav_menu_max_depth;

View File

@@ -840,7 +840,7 @@ function list_translation_updates() {
*
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param bool $reinstall
* @param bool $reinstall Optional. Whether to reinstall WordPress. Default false.
*/
function do_core_upgrade( $reinstall = false ) {
global $wp_filesystem;

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61519';
$wp_version = '7.0-alpha-61520';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.