mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Respect paged when offset is used in WP_Query. Adds unit tests.
Props coffee2code. Fixes #18897. git-svn-id: https://develop.svn.wordpress.org/trunk@26012 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -278,9 +278,6 @@ class Tests_Query_Results extends WP_UnitTestCase {
|
||||
$this->assertEquals( $expected, wp_list_pluck( $posts, 'post_name' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 18897
|
||||
*/
|
||||
function test_query_offset_and_paged() {
|
||||
$posts = $this->q->query('paged=2&offset=3');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user