From f335ef9a66d911c2769d854e2add22ea2ee26c44 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 25 Jun 2015 16:37:56 +0000 Subject: [PATCH] Remove unused code from `WP_Press_This::html()`. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32939 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-press-this.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index d6e9388560..b1f4eee206 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -1180,10 +1180,6 @@ class WP_Press_This { $post_title = $this->get_suggested_title( $data ); - if ( empty( $title ) ) { - $title = __( 'New Post' ); - } - $post_content = $this->get_suggested_content( $data ); // Get site settings array/data.