WordPress.org

Make WordPress Core

Ticket #17158: wp-activate.diff

File wp-activate.diff, 670 bytes (added by niallkennedy, 7 years ago)

constant and action tags as static strings

  • wp-activate.php

     
    11<?php
    2 define( "WP_INSTALLING", true );
     2define( 'WP_INSTALLING', true );
    33
    44/** Sets up the WordPress Environment. */
    55require( dirname(__FILE__) . '/wp-load.php' );
     
    1414if ( is_object( $wp_object_cache ) )
    1515        $wp_object_cache->cache_enabled = false;
    1616
    17 do_action("activate_header");
     17do_action( 'activate_header' );
    1818
    1919function do_activate_header() {
    20         do_action("activate_wp_head");
     20        do_action( 'activate_wp_head' );
    2121}
    2222add_action( 'wp_head', 'do_activate_header' );
    2323