mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
321ab74010
commit
d5a9e71df0
@ -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' );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user