Changeset 11703 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php
- Timestamp:
- 03/28/2022 03:01:14 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php
r11567 r11703 316 316 if ( ! empty( $featured ) ) { 317 317 $featured = reset( $featured ); 318 $query->set( 'post__not_in', array( $featured->ID ) ); 318 if ( ! $query->is_feed() ) { 319 $query->set( 'post__not_in', array( $featured->ID ) ); 320 } 319 321 } 320 322 }
Note: See TracChangeset
for help on using the changeset viewer.