Make WordPress Core


Ignore:
Timestamp:
12/02/2013 12:03:39 AM (13 years ago)
Author:
wonderboymusic
Message:

Change comments in unit test to reflect patched scenario in #26339.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term.php

    r26510 r26511  
    8888        }
    8989
     90        /**
     91         * @ticket 26339
     92         */
    9093        function test_get_object_terms() {
    9194                $post_id = $this->factory->post->create();
    … …  
    102105
    103106        function filter_get_object_terms( $terms ) {
    104                 // var_dump reveals an array of objects
    105107                $term_ids = wp_list_pluck( $terms, 'term_id' );
    106                 // last term is now an integer
     108                // all terms should still be objects
    107109                return $terms;
    108110        }
Note: See TracChangeset for help on using the changeset viewer.