Make WordPress Core


Ignore:
Timestamp:
12/20/2015 09:20:14 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing notations for the optional $tab_index and $extended parameters in the DocBlock for the deprecated the_editor() function.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r36030 r36033  
    25562556
    25572557/**
    2558  * Display editor: TinyMCE, HTML, or both.
     2558 * Displays an editor: TinyMCE, HTML, or both.
    25592559 *
    25602560 * @since 2.1.0
     
    25622562 * @see wp_editor()
    25632563 *
    2564  * @param string $content Textarea content.
    2565  * @param string $id Optional, default is 'content'. HTML ID attribute value.
    2566  * @param string $prev_id Optional, not used
    2567  * @param bool $media_buttons Optional, default is true. Whether to display media buttons.
     2564 * @param string $content       Textarea content.
     2565 * @param string $id            Optional. HTML ID attribute value. Default 'content'.
     2566 * @param string $prev_id       Optional. Unused.
     2567 * @param bool   $media_buttons Optional. Whether to display media buttons. Default true.
     2568 * @param int    $tab_index     Optional. Unused.
     2569 * @param bool   $extended      Optional. Unused.
    25682570 * @param int $tab_index Optional, not used
    25692571 */
Note: See TracChangeset for help on using the changeset viewer.