- Timestamp:
- 07/02/2019 04:43:01 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r45424 r45588 1379 1379 $this->assertEquals( $attachments_url, $links['https://api.w.org/attachment'][0]['href'] ); 1380 1380 1381 $term_links = $links['https://api.w.org/term']; 1382 $tag_link = $cat_link = $format_link = null; 1381 $term_links = $links['https://api.w.org/term']; 1382 $tag_link = null; 1383 $cat_link = null; 1384 $format_link = null; 1383 1385 foreach ( $term_links as $link ) { 1384 1386 if ( 'post_tag' === $link['attributes']['taxonomy'] ) {
Note: See TracChangeset
for help on using the changeset viewer.