Make WordPress Core


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

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

  • Make the function description more specific, for consistency with update_post_author_caches().
  • Add missing @covers tags for the unit test.

Follow-up to [53506].

See #55593.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php

    r53506 r53507  
    15171517        /**
    15181518         * @ticket 55592
    1519          * @covers WP_REST_Posts_Controller::get_items()
     1519         * @covers WP_REST_Posts_Controller::get_items
    15201520         */
    15211521        public function test_get_items_with_featured_media() {
     
    17901790        /**
    17911791         * @ticket 55593
     1792         * @covers WP_REST_Posts_Controller::get_items
     1793         * @covers update_post_parent_caches
    17921794         */
    17931795        public function test_get_items_parent_ids_primed() {
Note: See TracChangeset for help on using the changeset viewer.