WordPress.org

Make WordPress Core

Ticket #37707: 37707.diff

File 37707.diff, 510 bytes (added by jorbin, 22 months ago)
  • src/wp-settings.php

     
    2020// Include files required for initialization.
    2121require( ABSPATH . WPINC . '/load.php' );
    2222require( ABSPATH . WPINC . '/default-constants.php' );
    23 require( ABSPATH . WPINC . '/plugin.php' );
     23require_once( ABSPATH . WPINC . '/plugin.php' );
    2424
    2525/*
    2626 * These can't be directly globalized in version.php. When updating,