WordPress.org

Make WordPress Core

Changeset 36330


Ignore:
Timestamp:
01/17/2016 01:42:16 AM (5 years ago)
Author:
ericlewis
Message:

Docs: Nav menu location functions relate to nav menu locations, not nav menus.

Fixes #35471.

File:
1 edited

Legend:

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

    r36174 r36330  
    7878
    7979/**
    80  * Register navigation menus for a theme.
     80 * Register navigation menu locations for a theme.
    8181 *
    8282 * @since 3.0.0
     
    9595
    9696/**
    97  * Unregisters a navigation menu for a theme.
     97 * Unregisters a navigation menu location for a theme.
    9898 *
    9999 * @global array $_wp_registered_nav_menus
     
    116116
    117117/**
    118  * Register a navigation menu for a theme.
     118 * Register a navigation menu location for a theme.
    119119 *
    120120 * @since 3.0.0
     
    127127}
    128128/**
    129  * Returns an array of all registered navigation menus in a theme
     129 * Returns all registered navigation menu locations in a theme.
    130130 *
    131131 * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.