Permalink
Browse files

Use static strings and respect coding standards in wp-activate.php. F…

…ixes #17158 props niallkennedy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent eed3596 commit 10f5e5f4245975ecaf43715ce150b5a5b2a64a18 westi committed Apr 17, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 wp-activate.php
View
@@ -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_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' );

0 comments on commit 10f5e5f

Please sign in to comment.