Changeset 7319 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php
- Timestamp:
- 06/19/2018 09:44:33 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php
r5598 r7319 97 97 */ 98 98 function wporg_filter_archive_excerpt( $excerpt ) { 99 if ( ! is_single() && ! get_query_var( 'is_handbook' )&& 'command' !== get_query_var( 'post_type' ) ) {99 if ( ! is_single() && ! $GLOBALS['wp_query']->is_handbook && 'command' !== get_query_var( 'post_type' ) ) { 100 100 101 101 $post_id = get_the_ID(); … … 201 201 } 202 202 add_filter( 'loop_pagination', 'wporg_loop_pagination' ); 203
Note: See TracChangeset
for help on using the changeset viewer.