Changeset 26255
- Timestamp:
- 11/18/2013 10:03:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r26189 r26255 193 193 * @return WP_Query Possibly modified WP_query 194 194 */ 195 public static function pre_get_posts( $query = false) {196 197 // Bail if not home , not a query,not main query.198 if ( ! is_a( $query, 'WP_Query' ) || ! $query->is_main_query() || ! is_home() )195 public static function pre_get_posts( $query ) { 196 197 // Bail if not home or not main query. 198 if ( ! $query->is_home() || ! $query->is_main_query() ) 199 199 return; 200 200
Note: See TracChangeset
for help on using the changeset viewer.