Skip to content

Commit

Permalink
Use static strings and respect coding standards in wp-activate.php. F…
Browse files Browse the repository at this point in the history
…ixes #17158 props niallkennedy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
westi committed Apr 17, 2011
1 parent eed3596 commit 10f5e5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-activate.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
define( "WP_INSTALLING", true );
define( 'WP_INSTALLING', true );

/** Sets up the WordPress Environment. */
require( dirname(__FILE__) . '/wp-load.php' );
Expand All @@ -14,10 +14,10 @@
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' );

Expand Down

0 comments on commit 10f5e5f

Please sign in to comment.