From 7453d12390c7b34e773c5e5120406b14c32104c5 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 25 Jun 2015 16:38:25 +0000 Subject: [PATCH] Remove unused code from `WP_Press_This::html()`. See #32444. Built from https://develop.svn.wordpress.org/trunk@32939 git-svn-id: http://core.svn.wordpress.org/trunk@32910 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-press-this.php | 4 ---- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-press-this.php b/wp-admin/includes/class-wp-press-this.php index d6e9388560..b1f4eee206 100644 --- a/wp-admin/includes/class-wp-press-this.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index de856fbb6d..b8f521a627 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32938'; +$wp_version = '4.3-alpha-32939'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.