Make WordPress Core

Ticket #28744: setup-config.patch

File setup-config.patch, 916 bytes (added by michalzuber, 12 years ago)
  • wp-admin/setup-config.php

    From a01f9dec1f98c82101be7e19b918818ebe8507a7 Mon Sep 17 00:00:00 2001
    From: Michal Zuber <info@nevilleweb.sk>
    Date: Fri, 4 Jul 2014 07:15:37 +0200
    Subject: [PATCH] Fixed redeclera issue
    
    ---
     wp-admin/setup-config.php | 3 +--
     1 file changed, 1 insertion(+), 2 deletions(-)
    
    diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
    index f222da4..60762b4 100644
    a b error_reporting(-1); 
    3030
    3131define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' );
    3232
    33 require_once( ABSPATH . 'wp-includes/plugin.php' );
    34 add_action( 'plugins_loaded', 'wp_load_translations_early' );
    3533require( ABSPATH . 'wp-settings.php' );
     34add_action( 'plugins_loaded', 'wp_load_translations_early' );
    3635
    3736// Support wp-config-sample.php one level up, for the develop repo.
    3837if ( file_exists( ABSPATH . 'wp-config-sample.php' ) )