From 834f0809fc2a1a710a5dec2fc50a18976f9844ec Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Wed, 13 Jul 2016 12:37:29 +0000 Subject: [PATCH] WP Mail: Remove an unused variable. Unused since [34864]. Props vishalkakadiya. Fixes #37346. Built from https://develop.svn.wordpress.org/trunk@38045 git-svn-id: http://core.svn.wordpress.org/trunk@37986 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-mail.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d84c225fb..4dd5f51ff6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta2-38044'; +$wp_version = '4.6-beta2-38045'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-mail.php b/wp-mail.php index 07820e6b0c..62c9a11903 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -66,7 +66,6 @@ for ( $i = 1; $i <= $count; $i++ ) { $content_transfer_encoding = ''; $post_author = 1; $author_found = false; - $dmonths = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); foreach ($message as $line) { // Body signal. if ( strlen($line) < 3 )