WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/07/2014 10:54:13 PM (6 years ago)
Author:
azaozz
Message:

Fix typo and add more text to the error shown when 'wpdialogs' is not enqueued. Add 'wp_enqueue_editor' action fired when scripts and styles for the editor are being enqueued, fixes #16284

File:
1 edited

Legend:

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

    r27978 r28024  
    734734            wp_enqueue_script('media-upload');
    735735        }
     736
     737        /**
     738         * Fires when scripts and styles are enqueued for the editor
     739         *
     740         * @since 3.9.0
     741         *
     742         * @param array An array containing boolean values whether TinyMCE and Quicktags are being loaded.
     743         */
     744        do_action( 'wp_enqueue_editor', array( 'tinymce' => self::$has_tinymce, 'quicktags' => self::$has_quicktags ) );
    736745    }
    737746
Note: See TracChangeset for help on using the changeset viewer.