WordPress.org

Make WordPress Core

Changeset 28026


Ignore:
Timestamp:
04/07/2014 11:08:46 PM (7 years ago)
Author:
DrewAPicture
Message:

Improve hook docs for the wp_enqueue_editor hook, added in 3.9.

See #16284, #27700.

File:
1 edited

Legend:

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

    r28024 r28026  
    736736
    737737        /**
    738          * Fires when scripts and styles are enqueued for the editor
     738         * Fires when scripts and styles are enqueued for the editor.
    739739         *
    740740         * @since 3.9.0
    741741         *
    742          * @param array An array containing boolean values whether TinyMCE and Quicktags are being loaded.
     742         * @param array $to_load An array containing boolean values whether TinyMCE
     743         *                       and Quicktags are being loaded.
    743744         */
    744         do_action( 'wp_enqueue_editor', array( 'tinymce' => self::$has_tinymce, 'quicktags' => self::$has_quicktags ) );
     745        do_action( 'wp_enqueue_editor', array(
     746            'tinymce'   => self::$has_tinymce,
     747            'quicktags' => self::$has_quicktags,
     748        ) );
    745749    }
    746750
Note: See TracChangeset for help on using the changeset viewer.