Changeset 47210 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 02/07/2020 11:28:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r47198 r47210 37 37 * @since 3.3.0 38 38 * 39 * @param string $editor_id ID for the current editor instance. 39 * @param string $editor_id HTML ID for the textarea and TinyMCE and Quicktags instances. 40 * Should not contain square brackets. 40 41 * @param array $settings { 41 42 * Array of editor arguments. … … 76 77 * 77 78 * @param array $settings Array of editor arguments. 78 * @param string $editor_id ID for the current editor instance. Accepts 'classic-block'79 * @param string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block' 79 80 * when called from block editor's Classic block. 80 81 */ … … 148 149 * @since 3.3.0 149 150 * 150 * @param string $content The initial content of the editor. 151 * @param string $editor_id ID for the textarea and TinyMCE and Quicktags instances (can contain only ASCII letters and numbers). 152 * @param array $settings See _WP_Editors::parse_settings() for description. 151 * @param string $content Initial content for the editor. 152 * @param string $editor_id HTML ID for the textarea and TinyMCE and Quicktags instances. 153 * Should not contain square brackets. 154 * @param array $settings See _WP_Editors::parse_settings() for description. 153 155 */ 154 156 public static function editor( $content, $editor_id, $settings = array() ) { … … 311 313 * @global string $tinymce_version 312 314 * 313 * @param string $editor_id 314 * @param array $set 315 * @param string $editor_id Unique editor identifier, e.g. 'content'. 316 * @param array $set Array of editor arguments. 315 317 */ 316 318 public static function editor_settings( $editor_id, $set ) { … … 354 356 * 355 357 * @param array $qtInit Quicktags settings. 356 * @param string $editor_id The unique editor ID, e.g. 'content'.358 * @param string $editor_id Unique editor identifier, e.g. 'content'. 357 359 */ 358 360 $qtInit = apply_filters( 'quicktags_settings', $qtInit, $editor_id );
Note: See TracChangeset
for help on using the changeset viewer.