Use static strings and respect coding standards in wp-activate.php. Fixes #17158 props niallkennedy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-04-17 21:31:38 +00:00
parent eed35967cc
commit 10f5e5f424
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php
define( "WP_INSTALLING", true );
define( 'WP_INSTALLING', true );
/** Sets up the WordPress Environment. */
require( dirname(__FILE__) . '/wp-load.php' );
@ -14,10 +14,10 @@ if ( !is_multisite() ) {
if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false;
do_action("activate_header");
do_action( 'activate_header' );
function do_activate_header() {
do_action("activate_wp_head");
do_action( 'activate_wp_head' );
}
add_action( 'wp_head', 'do_activate_header' );