WordPress.org

Make WordPress Core

Ticket #17167: wp-activate.diff

File wp-activate.diff, 453 bytes (added by niallkennedy, 4 years ago)

two types of require paths

  • wp-activate.php

     
    44/** Sets up the WordPress Environment. */ 
    55require( dirname(__FILE__) . '/wp-load.php' ); 
    66 
    7 require( './wp-blog-header.php' ); 
     7require( dirname(__FILE__) . '/wp-blog-header.php' ); 
    88 
    99if ( !is_multisite() ) { 
    1010        wp_redirect( site_url( '/wp-login.php?action=register' ) );