Ticket #17158: wp-activate.diff
| File wp-activate.diff, 670 bytes (added by niallkennedy, 2 years ago) |
|---|
-
wp-activate.php
1 1 <?php 2 define( "WP_INSTALLING", true );2 define( 'WP_INSTALLING', true ); 3 3 4 4 /** Sets up the WordPress Environment. */ 5 5 require( dirname(__FILE__) . '/wp-load.php' ); … … 14 14 if ( is_object( $wp_object_cache ) ) 15 15 $wp_object_cache->cache_enabled = false; 16 16 17 do_action( "activate_header");17 do_action( 'activate_header' ); 18 18 19 19 function do_activate_header() { 20 do_action( "activate_wp_head");20 do_action( 'activate_wp_head' ); 21 21 } 22 22 add_action( 'wp_head', 'do_activate_header' ); 23 23
