Ticket #41869: 41869.patch
File 41869.patch, 1.2 KB (added by , 7 years ago) |
---|
-
class-wp-editor.php
788 788 } 789 789 790 790 /** 791 * @static 791 792 * Enqueue all editor scripts. 792 793 * For use when the editor is going to be initialized after page load. 793 794 * … … 812 813 } 813 814 814 815 /** 816 * @static 815 817 * Print (output) all editor scripts and default settings. 816 818 * For use when the editor is going to be initialized after page load. 817 819 * … … 907 909 self::wp_link_dialog(); 908 910 } 909 911 912 913 /** 914 * @static 915 * Returns the Mce locale settings. 916 * @return string 917 */ 910 918 public static function get_mce_locale() { 911 919 if ( empty( self::$mce_locale ) ) { 912 920 $mce_locale = get_user_locale(); … … 916 924 return self::$mce_locale; 917 925 } 918 926 927 /** 928 * @static 929 * Returns base url for tiny mce. 930 * @return string|void 931 */ 919 932 public static function get_baseurl() { 920 933 if ( empty( self::$baseurl ) ) { 921 934 self::$baseurl = includes_url( 'js/tinymce' ); … … 925 938 } 926 939 927 940 /** 941 * @static 928 942 * Returns the default TinyMCE settings. 929 943 * Doesn't include plugins, buttons, editor selector. 930 944 *