Editor: Define $suffix before using it in _WP_Editors::print_tinymce_scripts().

Props imath.
Fixes #40479. See #35760.
Built from https://develop.svn.wordpress.org/trunk@40477


git-svn-id: http://core.svn.wordpress.org/trunk@40353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-04-19 12:02:46 +00:00
parent d0e4448257
commit ebf0b9e46e
2 changed files with 2 additions and 1 deletions

View File

@ -1331,6 +1331,7 @@ final class _WP_Editors {
script_concat_settings();
}
$suffix = SCRIPT_DEBUG ? '' : '.min';
$version = 'ver=' . $tinymce_version;
$baseurl = self::get_baseurl();

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40476';
$wp_version = '4.8-alpha-40477';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.