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:
Weston Ruter
2016-12-02 16:17:03 +00:00
parent 65ed569b96
commit 511ba69e52
2 changed files with 4 additions and 3 deletions
@@ -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();