Changeset 30295 for trunk/tests/phpunit/tests/feed/rss2.php
- Timestamp:
- 11/10/2014 02:04:22 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/feed/rss2.php
r30283 r30295 126 126 $cats[] = $term->name; 127 127 } 128 foreach ( get_the_tags( $post->ID ) as $term ) { 129 $cats[] = $term->name; 128 129 $tags = get_the_tags( $post->ID ); 130 if ( $tags ) { 131 foreach ( get_the_tags( $post->ID ) as $term ) { 132 $cats[] = $term->name; 133 } 130 134 } 131 135 $cats = array_filter( $cats );
Note: See TracChangeset
for help on using the changeset viewer.