Make WordPress Core

Ticket #23066: third_try.patch

File third_try.patch, 1.3 KB (added by chriscct7, 12 years ago)

Third Try Patch

  • bin/install.php

    From ef793c0a182ff6b331cab5c938f6c8bc05fd45e9 Mon Sep 17 00:00:00 2001
    From: Sunny Ratilal <ratilal.sunny@gmail.com>
    Date: Tue, 9 Apr 2013 14:12:02 +0100
    Subject: [PATCH 1/2] Added check to see if multisite was called
    
    ---
     bin/install.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/bin/install.php b/bin/install.php
    index 1b8a0db..dd4fe5b 100644
    a b  
    77error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
    88
    99$config_file_path = $argv[1];
    10 $multisite = true;
     10$multisite = ! empty( $argv[2] );;
    1111
    1212define( 'WP_INSTALLING', true );
    1313require_once $config_file_path;
  • bin/install.php

    -- 
    1.8.0.msysgit.0
    
    
    From f4e566e388e0b218dc1abf1cdd1de48370816967 Mon Sep 17 00:00:00 2001
    From: Sunny Ratilal <ratilal.sunny@gmail.com>
    Date: Tue, 9 Apr 2013 14:15:08 +0100
    Subject: [PATCH 2/2] Remove double semicolons
    
    ---
     bin/install.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/bin/install.php b/bin/install.php
    index dd4fe5b..b846eef 100644
    a b  
    77error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
    88
    99$config_file_path = $argv[1];
    10 $multisite = ! empty( $argv[2] );;
     10$multisite = ! empty( $argv[2] );
    1111
    1212define( 'WP_INSTALLING', true );
    1313require_once $config_file_path;