Changeset 39434
- Timestamp:
- 12/02/2016 04:17:03 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r39411 r39434 795 795 'post_status' => get_post_stati(), 796 796 'name' => $uuid, 797 ' number' => 1,797 'posts_per_page' => 1, 798 798 'no_found_rows' => true, 799 799 'cache_results' => true, … … 1004 1004 'post_status' => 'auto-draft', 1005 1005 'post_type' => 'any', 1006 ' number' => -1,1006 'posts_per_page' => -1, 1007 1007 ) ); 1008 1008 foreach ( $existing_posts_query->posts as $existing_post ) { … … 1017 1017 'post_status' => array_diff( get_post_stati(), array( 'auto-draft' ) ), 1018 1018 'post_type' => 'any', 1019 ' number' => -1,1019 'posts_per_page' => -1, 1020 1020 ) ); 1021 1021 foreach ( $existing_posts_query->posts as $existing_post ) { -
trunk/tests/phpunit/tests/customize/manager.php
r39411 r39434 403 403 ); 404 404 405 update_option( 'posts_per_page', 1 ); // To check #39022. 405 406 add_theme_support( 'starter-content', $starter_content_config ); 406 407 $this->assertEmpty( $wp_customize->unsanitized_post_values() );
Note: See TracChangeset
for help on using the changeset viewer.