From 105cd50bdfe5799435339cda77e190f3c7818849 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 1 Nov 2014 23:21:07 +0000 Subject: [PATCH] In `_WP_Editors::editor_settings()`, `$str1` and `$str2` don't need to be initialized empty. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30173 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index a9225caed6..e92849c1f5 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -418,7 +418,7 @@ final class _WP_Editors { $url = set_url_scheme( $url ); $mce_external_plugins[ $name ] = $url; $plugurl = dirname( $url ); - $strings = $str1 = $str2 = ''; + $strings = ''; // Try to load langs/[locale].js and langs/[locale]_dlg.js if ( ! in_array( $name, $loaded_langs, true ) ) {