Changeset 47122 for trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
r46586 r47122 44 44 function empty_tags_data_provider() { 45 45 return array( 46 /** 47 * when format => array, we should be getting an empty array back 48 */ 46 // When 'format' => 'array', we should be getting an empty array back. 49 47 array( 50 48 array(), 51 49 array( 'format' => 'array' ), 52 50 ), 53 /** 54 * List format returns an empty string 55 */ 51 // List format returns an empty string. 56 52 array( 57 53 '', 58 54 array( 'format' => 'list' ), 59 55 ), 60 /** 61 * $args can be an array or ''. Either should return an empty string 62 */ 56 // $args can be an array or ''. Either should return an empty string. 63 57 array( 64 58 '', … … 303 297 $tags = array(); 304 298 foreach ( $terms as $term ) { 305 // add the link299 // Add the link. 306 300 $term->link = get_term_link( $term ); 307 301 $tags[] = $term;
Note: See TracChangeset
for help on using the changeset viewer.