Make WordPress Core


Ignore:
Timestamp:
08/27/2016 02:36:42 PM (8 years ago)
Author:
dd32
Message:

Bootstrap: Revert [38399] as it's broken /build/ and subsequently core.svn.wordpress.org.

The generated classmaps reference /src/ files and operates in the assumption that the base directory is one level above wp-settings.php, which it isn't after our build processes are run.

See #36335

File:
1 edited

Legend:

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

    r38399 r38402  
    29812981 */
    29822982function wp_editor( $content, $editor_id, $settings = array() ) {
     2983    if ( ! class_exists( '_WP_Editors', false ) )
     2984        require( ABSPATH . WPINC . '/class-wp-editor.php' );
     2985
    29832986    _WP_Editors::editor($content, $editor_id, $settings);
    29842987}
Note: See TracChangeset for help on using the changeset viewer.