Make WordPress Core

Ticket #41244: 41244.patch

File 41244.patch, 413 bytes (added by tejas5989, 5 years ago)

global $tinymce_version is used in default_settings() function but it is not mentioned in the documentation of the function.

  • class-wp-editor.php

     
    928928         * Returns the default TinyMCE settings.
    929929         * Doesn't include plugins, buttons, editor selector.
    930930         *
     931         * @global string $tinymce_version
    931932         * @return array
    932933         */
    933934        private static function default_settings() {