Make WordPress Core

Changeset 53252


Ignore:
Timestamp:
04/25/2022 09:30:34 AM (2 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in wp-includes/nav-menu.php, as per docs standards.

See #54729.

File:
1 edited

Legend:

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

    r53010 r53252  
    5151
    5252/**
    53  * Check if the given ID is a navigation menu.
     53 * Determines whether the given ID is a navigation menu.
    5454 *
    5555 * Returns true if it is; false otherwise.
     
    256256
    257257/**
    258  * Delete a Navigation Menu.
     258 * Deletes a navigation menu.
    259259 *
    260260 * @since 3.0.0
     
    303303
    304304/**
    305  * Save the properties of a menu or create a new menu with those properties.
     305 * Saves the properties of a menu or create a new menu with those properties.
    306306 *
    307307 * Note that `$menu_data` is expected to be pre-slashed.
     
    405405
    406406/**
    407  * Save the properties of a menu item or create a new one.
     407 * Saves the properties of a menu item or create a new one.
    408408 *
    409409 * The menu-item-title, menu-item-description and menu-item-attr-title are expected
     
    642642
    643643/**
    644  * Return if a menu item is valid.
     644 * Determines whether a menu item is valid.
    645645 *
    646646 * @link https://core.trac.wordpress.org/ticket/13958
     
    989989
    990990/**
    991  * Get the menu items associated with a particular object.
     991 * Returns the menu items associated with a particular object.
    992992 *
    993993 * @since 3.0.0
     
    11211121
    11221122/**
    1123  * Delete auto-draft posts associated with the supplied changeset.
     1123 * Deletes auto-draft posts associated with the supplied changeset.
    11241124 *
    11251125 * @since 4.8.0
     
    11551155
    11561156/**
    1157  * Handle menu config after theme change.
     1157 * Handles menu config after theme change.
    11581158 *
    11591159 * @access private
Note: See TracChangeset for help on using the changeset viewer.