- Timestamp:
- 11/07/2019 07:10:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r46386 r46675 578 578 579 579 if ( $set['teeny'] ) { 580 $mce_buttons = array( 'bold', 'italic', 'underline', 'blockquote', 'strikethrough', 'bullist', 'numlist', 'alignleft', 'aligncenter', 'alignright', 'undo', 'redo', 'link', 'fullscreen' ); 580 581 581 582 /** … … 584 585 * @since 2.7.0 585 586 * 586 * @param array $ buttonsAn array of teenyMCE buttons.587 * @param string $editor_id Unique editor identifier, e.g. 'content'.587 * @param array $mce_buttons An array of teenyMCE buttons. 588 * @param string $editor_id Unique editor identifier, e.g. 'content'. 588 589 */ 589 $mce_buttons = apply_filters( 'teeny_mce_buttons', array( 'bold', 'italic', 'underline', 'blockquote', 'strikethrough', 'bullist', 'numlist', 'alignleft', 'aligncenter', 'alignright', 'undo', 'redo', 'link', 'fullscreen' ), $editor_id );590 $mce_buttons = apply_filters( 'teeny_mce_buttons', $mce_buttons, $editor_id ); 590 591 $mce_buttons_2 = array(); 591 592 $mce_buttons_3 = array(); … … 611 612 * @since 2.0.0 612 613 * 613 * @param array $ buttonsFirst-row list of buttons.614 * @param string $editor_id Unique editor identifier, e.g. 'content'.614 * @param array $mce_buttons First-row list of buttons. 615 * @param string $editor_id Unique editor identifier, e.g. 'content'. 615 616 */ 616 617 $mce_buttons = apply_filters( 'mce_buttons', $mce_buttons, $editor_id ); … … 627 628 * @since 2.0.0 628 629 * 629 * @param array $ buttonsSecond-row list of buttons.630 * @param string $editor_id Unique editor identifier, e.g. 'content'.630 * @param array $mce_buttons_2 Second-row list of buttons. 631 * @param string $editor_id Unique editor identifier, e.g. 'content'. 631 632 */ 632 633 $mce_buttons_2 = apply_filters( 'mce_buttons_2', $mce_buttons_2, $editor_id ); … … 637 638 * @since 2.0.0 638 639 * 639 * @param array $ buttonsThird-row list of buttons.640 * @param string $editor_id Unique editor identifier, e.g. 'content'.640 * @param array $mce_buttons_3 Third-row list of buttons. 641 * @param string $editor_id Unique editor identifier, e.g. 'content'. 641 642 */ 642 643 $mce_buttons_3 = apply_filters( 'mce_buttons_3', array(), $editor_id ); … … 647 648 * @since 2.5.0 648 649 * 649 * @param array $ buttonsFourth-row list of buttons.650 * @param string $editor_id Unique editor identifier, e.g. 'content'.650 * @param array $mce_buttons_4 Fourth-row list of buttons. 651 * @param string $editor_id Unique editor identifier, e.g. 'content'. 651 652 */ 652 653 $mce_buttons_4 = apply_filters( 'mce_buttons_4', array(), $editor_id );
Note: See TracChangeset
for help on using the changeset viewer.