mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
eed35967cc
commit
10f5e5f424
@ -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…
Reference in New Issue
Block a user