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
This commit is contained in:
parent
b808e1af70
commit
105cd50bdf
@ -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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user