Make WordPress Core

Ticket #27208: 27208.4.diff

File 27208.4.diff, 543 bytes (added by Denis-de-Bernardy, 12 years ago)

Allow wp-config.php to include the file with add_filter() without crashing WP

  • wp-settings.php

     
    7272require( ABSPATH . WPINC . '/functions.php' );
    7373require( ABSPATH . WPINC . '/class-wp.php' );
    7474require( ABSPATH . WPINC . '/class-wp-error.php' );
    75 require( ABSPATH . WPINC . '/plugin.php' );
     75require_once( ABSPATH . WPINC . '/plugin.php' );
    7676require( ABSPATH . WPINC . '/pomo/mo.php' );
    7777
    7878// Include the wpdb class and, if present, a db.php database drop-in.