Changeset 1076514
- Timestamp:
- 01/27/2015 07:49:17 AM (11 years ago)
- File:
-
- 1 edited
-
conditional-logic-solution/trunk/lib/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
conditional-logic-solution/trunk/lib/post.php
r1075601 r1076514 97 97 global $wp_query; 98 98 99 if( $wp_query->is_main_query() ){ 100 $post_type = $wp_query->get('post_type'); 101 102 if( $this->is_post() ){ 99 if( !is_admin() && $wp_query->is_main_query() ){ 100 101 if( !is_search() && $this->is_post() ){ 103 102 if( (int) $this->values->per_page > 0 ) $per_page = (int) $this->values->per_page; 104 103 }
Note: See TracChangeset
for help on using the changeset viewer.