You appear to be a bot. Output may be restricted
Description
Usage
Tests_oEmbed_Response_Data::test_get_oembed_response_data_with_public_false_custom_post_status();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/oembed/getResponseData.php
Lines:
1 to 13 of 13
public function test_get_oembed_response_data_with_public_false_custom_post_status() { // Custom status with 'public' => false. register_post_status( 'private_foo', array( 'public' => false ) ); $post = self::factory()->post->create_and_get( array( 'post_status' => 'private_foo', ) ); $this->assertFalse( get_oembed_response_data( $post, 100 ) ); }