mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Customize: Fix posts limit query arg for WP_Query from incorrect number to posts_per_page.
Props dlh. Fixes #39022. git-svn-id: https://develop.svn.wordpress.org/trunk@39434 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -402,6 +402,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
|
||||
),
|
||||
);
|
||||
|
||||
update_option( 'posts_per_page', 1 ); // To check #39022.
|
||||
add_theme_support( 'starter-content', $starter_content_config );
|
||||
$this->assertEmpty( $wp_customize->unsanitized_post_values() );
|
||||
$wp_customize->import_theme_starter_content();
|
||||
|
||||
Reference in New Issue
Block a user