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

git-svn-id: https://develop.svn.wordpress.org/trunk@17644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-04-17 21:31:38 +00:00
parent 321ab74010
commit d5a9e71df0
1 changed files with 3 additions and 3 deletions

View File

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