diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index b276eb31b7..232fbb47e6 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -1104,7 +1104,7 @@ class WP_Press_This { $default_html = array( 'quote' => '', 'link' => '', 'embed' => '' ); - if ( $this->_limit_embed( $data['u'] ) ) { + if ( ! empty( $data['u'] ) && $this->_limit_embed( $data['u'] ) ) { $default_html['embed'] = '

[embed]' . $data['u'] . '[/embed]

'; if ( ! empty( $data['s'] ) ) {