Make WordPress Core


Ignore:
Timestamp:
06/15/2022 01:35:28 PM (4 years ago)
Author:
SergeyBiryukov
Message:

REST API: Some documentation and test improvements for update_menu_item_cache():

  • Make the function description more specific, for consistency with other similar functions.
  • Add a @since note for the $update_menu_item_cache parameter of WP_Query::parse_query().
  • Add missing @covers tags for the unit tests.

Follow-up to [53504].

See #55620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-query.php

    r53504 r53508  
    628628     * @since 5.1.0 Introduced the `$meta_compare_key` parameter.
    629629     * @since 5.3.0 Introduced the `$meta_type_key` parameter.
     630     * @since 6.1.0 Introduced the `$update_menu_item_cache` parameter.
    630631     *
    631632     * @param string|array $query {
Note: See TracChangeset for help on using the changeset viewer.