Docs: Add missing notations for the optional `$tab_index` and `$extended` parameters in the DocBlock for the deprecated `the_editor()` function.
See #32246. Built from https://develop.svn.wordpress.org/trunk@36033 git-svn-id: http://core.svn.wordpress.org/trunk@35998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7849bb7d94
commit
a28bfe8ba6
|
@ -2555,16 +2555,18 @@ function wp_timezone_supported() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display editor: TinyMCE, HTML, or both.
|
* Displays an editor: TinyMCE, HTML, or both.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
* @deprecated 3.3.0 Use wp_editor()
|
* @deprecated 3.3.0 Use wp_editor()
|
||||||
* @see wp_editor()
|
* @see wp_editor()
|
||||||
*
|
*
|
||||||
* @param string $content Textarea content.
|
* @param string $content Textarea content.
|
||||||
* @param string $id Optional, default is 'content'. HTML ID attribute value.
|
* @param string $id Optional. HTML ID attribute value. Default 'content'.
|
||||||
* @param string $prev_id Optional, not used
|
* @param string $prev_id Optional. Unused.
|
||||||
* @param bool $media_buttons Optional, default is true. Whether to display media buttons.
|
* @param bool $media_buttons Optional. Whether to display media buttons. Default true.
|
||||||
|
* @param int $tab_index Optional. Unused.
|
||||||
|
* @param bool $extended Optional. Unused.
|
||||||
* @param int $tab_index Optional, not used
|
* @param int $tab_index Optional, not used
|
||||||
*/
|
*/
|
||||||
function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) {
|
function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36032';
|
$wp_version = '4.5-alpha-36033';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue