Ticket #47574: 47574.diff
File 47574.diff, 408 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/embed.php
diff --git a/src/wp-includes/embed.php b/src/wp-includes/embed.php index 76d937cd6c..2f64ae5344 100644
a b function get_oembed_response_data( $post, $width ) { 506 506 return false; 507 507 } 508 508 509 if ( 'publish' !== get_post_status( $post )) {509 if ( ! get_post_status_object( get_post_status( $post ) )->public ) { 510 510 return false; 511 511 } 512 512