Make WordPress Core

Changeset 40515


Ignore:
Timestamp:
04/22/2017 01:11:23 AM (8 years ago)
Author:
azaozz
Message:

Editor: fix undefined var notice in editor_js() in class-wp-editor.php.

Props littler.chicken.
Fixes #40501, see #35760.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r40477 r40515  
    13581358     */
    13591359    public static function editor_js() {
     1360        global $tinymce_version;
     1361
    13601362        $tmce_on = ! empty( self::$mce_settings );
    13611363        $mceInit = $qtInit = '';
     
    13891391        $suffix = SCRIPT_DEBUG ? '' : '.min';
    13901392        $baseurl = self::get_baseurl();
     1393        $version = 'ver=' . $tinymce_version;
    13911394
    13921395        /**
Note: See TracChangeset for help on using the changeset viewer.