Changeset 47022 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 12/31/2019 01:23:11 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r46737 r47022 35 35 /** 36 36 * Parse default arguments for the editor instance. 37 * 38 * @since 3.3.0 37 39 * 38 40 * @param string $editor_id ID for the current editor instance. … … 151 153 * Outputs the HTML for a single instance of the editor. 152 154 * 155 * @since 3.3.0 156 * 153 157 * @param string $content The initial content of the editor. 154 158 * @param string $editor_id ID for the textarea and TinyMCE and Quicktags instances (can contain only ASCII letters and numbers). … … 310 314 311 315 /** 316 * @since 3.3.0 317 * 312 318 * @global string $tinymce_version 313 319 * … … 818 824 819 825 /** 826 * @since 3.3.0 827 * 820 828 * @param array $init 821 829 * @return string … … 844 852 845 853 /** 846 * 847 * @static 854 * @since 3.3.0 848 855 * 849 856 * @param bool $default_scripts Optional. Whether default scripts should be enqueued. Default false. … … 1017 1024 } 1018 1025 1026 /** 1027 * @since 4.8.0 1028 */ 1019 1029 public static function get_mce_locale() { 1020 1030 if ( empty( self::$mce_locale ) ) { … … 1026 1036 } 1027 1037 1038 /** 1039 * @since 4.8.0 1040 */ 1028 1041 public static function get_baseurl() { 1029 1042 if ( empty( self::$baseurl ) ) { … … 1037 1050 * Returns the default TinyMCE settings. 1038 1051 * Doesn't include plugins, buttons, editor selector. 1052 * 1053 * @since 4.8.0 1039 1054 * 1040 1055 * @global string $tinymce_version … … 1105 1120 } 1106 1121 1122 /** 1123 * @since 4.7.0 1124 * 1125 * @return array 1126 */ 1107 1127 private static function get_translation() { 1108 1128 if ( empty( self::$translation ) ) { … … 1428 1448 * or as JS snippet that should run after tinymce.js is loaded. 1429 1449 * 1450 * @since 3.9.0 1451 * 1430 1452 * @param string $mce_locale The locale used for the editor. 1431 1453 * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone(). … … 1488 1510 * sure that we use the uncompressed TinyMCE file if a theme is defined. 1489 1511 * Even if we are on a production environment. 1512 * 1513 * @since 5.0.0 1490 1514 */ 1491 1515 public static function force_uncompressed_tinymce() { … … 1537 1561 /** 1538 1562 * Print (output) the TinyMCE configuration and initialization scripts. 1563 * 1564 * @since 3.3.0 1539 1565 * 1540 1566 * @global string $tinymce_version
Note: See TracChangeset
for help on using the changeset viewer.