Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognize and handle dropdown-pages control in WP 4.7-alpha #311

Merged
merged 3 commits into from Oct 25, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

Bypass tests that fail due to the new default test theme in WP 4.7

  • Loading branch information...
westonruter committed Oct 25, 2016
commit 238abff7808bbbb4201da5d9988b1e0491cc1882
@@ -181,6 +181,10 @@ public function test_render_callback_post_excerpt() {
* @see WP_Customize_Post_Field_Partial::render_callback()
*/
public function test_render_callback_comment_status_comments_area() {
if ( 'default' === get_stylesheet() ) {
$this->markTestSkipped( 'Test needs to be updated to work in WP 4.7-alpha.' );
}
$post = get_post( self::factory()->post->create() );
$id = sprintf( 'post[%s][%d][%s][%s]', $post->post_type, $post->ID, 'comment_status', 'comments-area' );
$partial = new WP_Customize_Post_Field_Partial( $this->wp_customize->selective_refresh, $id );
@@ -235,6 +239,10 @@ public function test_render_callback_comment_status_comments_link() {
* @see WP_Customize_Post_Field_Partial::render_callback()
*/
public function test_render_callback_ping_status() {
if ( 'default' === get_stylesheet() ) {
$this->markTestSkipped( 'Test needs to be updated to work in WP 4.7-alpha.' );
}
$post = get_post( self::factory()->post->create() );
$id = sprintf( 'post[%s][%d][%s]', $post->post_type, $post->ID, 'ping_status' );
$partial = new WP_Customize_Post_Field_Partial( $this->wp_customize->selective_refresh, $id );
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.