Changeset 6338 for trunk/wp-includes/query.php
- Timestamp:
- 11/17/2007 12:04:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r6310 r6338 1231 1231 // manipulate paging queries should use these hooks. 1232 1232 1233 // Announce current selection parameters. For use by caching plugins.1234 do_action( 'posts_selection', $where . $groupby . $q['orderby'] . $limits . $join );1235 1236 1233 $where = apply_filters('posts_where_paged', $where); 1237 1234 $groupby = apply_filters('posts_groupby', $groupby); … … 1248 1245 if ( !empty($limits) ) 1249 1246 $found_rows = 'SQL_CALC_FOUND_ROWS'; 1247 1248 // Announce current selection parameters. For use by caching plugins. 1249 do_action( 'posts_selection', $where . $groupby . $q['orderby'] . $limits . $join ); 1250 1250 1251 1251 $request = " SELECT $found_rows $distinct $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $orderby $limits";
Note: See TracChangeset
for help on using the changeset viewer.