WordPress.org

Make WordPress Core

Ticket #11093: ticket11093.diff

File ticket11093.diff, 2.1 KB (added by thomask, 4 years ago)

Diff solving ticket #11093 from version 2.9.1 wp-admin/install.php

Line 
127a28,29
2>
3> if ( !function_exists('display_header') ) :
449a52
5> endif;
650a54
7> if ( !function_exists('display_setup_form') ) :
880c84,85
9< }
10---
11> }//end function display_setup_form();
12> endif;
1381a87,95
14> if ( !function_exists('check_requirements') ) :
15> /**
16>  * Initial check if blog is installed and other requirements
17>  *
18>  * @package WordPress
19>  * @subpackage Installer
20>  */
21> function check_requirements() {
22> global $wpdb;
2384d97
24<
25100a114,137
26> }//end function check_blog_installed();
27> endif;
28> check_requirements();
29>
30> if ( !function_exists('step_0') ) :
31> /**
32>  * Function for step 0
33>  *
34>  * @package WordPress
35>  * @subpackage Installer
36>  */
37> function step_0() {
38> step_1();
39> }//end function step_0();
40> endif;
41>
42> if ( !function_exists('step_1') ) :
43> /**
44>  * Function for step 1
45>  *
46>  * @package WordPress
47>  * @subpackage Installer
48>  */
49> function step_1() {
50102,104d138
51< switch($step) {
52<       case 0:
53<       case 1: // in case people are directly linking to this
54114,115d147
55<
56<
57118,119c150,161
58<               break;
59<       case 2:
60---
61> }//end function step_1();
62> endif;
63>
64> if ( !function_exists('step_2') ) :
65> /**
66>  * Function for step 2
67>  *
68>  * @package WordPress
69>  * @subpackage Installer
70>  */
71> function step_2() {
72> global $wpdb;
73168c210,223
74<               break;
75---
76> }//end function step_2();
77> endif;
78>
79>
80> switch($step) {
81>       case 0:
82>     step_0();
83>     break;
84>       case 1: // in case people are directly linking to this
85>     step_1();
86>     break;
87>       case 2:
88>     step_2();
89>     break;
90169a225,235
91>
92>
93> if ( !function_exists('display_footer') ) :
94> /**
95>  * Display install footer.
96>  *
97>  * @package WordPress
98>  * @subpackage Installer
99>  */
100>
101> function display_footer() {
102171,173c237,244
103< <script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script>
104< </body>
105< </html>
106---
107>   <script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script>
108>   </body>
109>   </html>
110> <?php }//end function display_footer();
111> endif;
112>
113> display_footer();
114> ?>