Changeset 28864
- Timestamp:
- 06/27/2014 12:03:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r28804 r28864 2875 2875 2876 2876 if ( empty($q['offset']) ) { 2877 $pgstrt = ($page - 1) * $q['posts_per_page']. ', ';2877 $pgstrt = absint( ( $page - 1 ) * $q['posts_per_page'] ) . ', '; 2878 2878 } else { // we're ignoring $page and using 'offset' 2879 2879 $q['offset'] = absint($q['offset']);
Note: See TracChangeset
for help on using the changeset viewer.