Ticket #18576: 18576.4.patch
| File 18576.4.patch, 7.3 KB (added by , 14 years ago) |
|---|
-
wp-load.php
53 53 require_once( ABSPATH . '/wp-includes/functions.php' ); 54 54 require_once( ABSPATH . '/wp-includes/plugin.php' ); 55 55 $text_direction = /*WP_I18N_TEXT_DIRECTION*/'ltr'/*/WP_I18N_TEXT_DIRECTION*/; 56 wp_die(sprintf(/*WP_I18N_NO_CONFIG*/" There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress › Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));56 wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"<p>There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started.</p> <p>Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>.</p> <p>You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a></p>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress › Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction)); 57 57 58 58 } 59 59 -
wp-includes/functions.php
2851 2851 body { 2852 2852 background: #fff; 2853 2853 color: #333; 2854 font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans",sans-serif;2854 font-family: sans-serif; 2855 2855 margin: 2em auto; 2856 width: 700px;2857 2856 padding: 1em 2em; 2858 -webkit-border-radius: 11px; 2859 border-radius: 11px; 2857 -webkit-border-radius: 3px; 2858 -moz-border-radius: 3px; 2859 -khtml-border-radius: 3px; 2860 border-radius: 3px; 2860 2861 border: 1px solid #dfdfdf; 2862 max-width: 700px; 2861 2863 } 2862 2864 #error-page { 2863 2865 margin-top: 50px; 2864 2866 } 2865 2867 #error-page p { 2866 font-size: 1 2px;2867 line-height: 1 8px;2868 font-size: 14px; 2869 line-height: 1.5; 2868 2870 margin: 25px 0 20px; 2869 2871 } 2870 2872 #error-page code { 2871 2873 font-family: Consolas, Monaco, monospace; 2872 2874 } 2875 ul li { 2876 margin-bottom: 10px; 2877 font-size: 14px ; 2878 } 2879 a { 2880 color: #21759B; 2881 text-decoration: none; 2882 } 2883 a:hover { 2884 color: #D54E21; 2885 } 2873 2886 <?php if ( 'rtl' == $text_direction ) : ?> 2874 body { font-family: Tahoma, arial; }2887 body { font-family: Tahoma, Arial; } 2875 2888 <?php endif; ?> 2876 2889 </style> 2877 2890 </head> -
wp-admin/css/install.dev.css
7 7 color: #333; 8 8 font-family: sans-serif; 9 9 margin: 2em auto; 10 width: 700px;11 10 padding: 1em 2em; 12 -webkit-border-radius: 11px; 13 border-radius: 11px; 11 -webkit-border-radius: 3px; 12 -moz-border-radius: 3px; 13 -khtml-border-radius: 3px; 14 border-radius: 3px; 14 15 border: 1px solid #dfdfdf; 16 max-width: 700px; 15 17 } 16 18 17 19 a { 18 color: #2 583ad;20 color: #21759B; 19 21 text-decoration: none; 20 22 } 21 23 22 24 a:hover { 23 color: # d54e21;25 color: #D54E21; 24 26 } 25 27 26 28 h1 { … … 28 30 clear: both; 29 31 color: #666; 30 32 font: 24px Georgia, "Times New Roman", Times, serif; 31 margin: 5px 0 0 -4px;33 margin: 30px 0 0 0; 32 34 padding: 0; 33 35 padding-bottom: 7px; 34 36 } … … 39 41 40 42 p, li, dd, dt { 41 43 padding-bottom: 2px; 42 font-size: 1 2px;43 line-height: 1 8px;44 font-size: 14px; 45 line-height: 1.5; 44 46 } 45 47 46 48 code, .code { 47 font-size: 1 3px;49 font-size: 14px; 48 50 } 49 51 50 52 ul, ol, dl { … … 80 82 cursor: pointer; 81 83 border: 1px solid #bbb; 82 84 color: #464646; 85 -moz-border-radius: 15px; 86 -khtml-border-radius: 15px; 83 87 -webkit-border-radius: 15px; 84 88 border-radius: 15px; 85 89 -moz-box-sizing: content-box; … … 101 105 } 102 106 103 107 textarea { 104 border: 1px solid # bbb;108 border: 1px solid #dfdfdf; 105 109 -webkit-border-radius: 3px; 110 -moz-border-radius: 3px; 111 -khtml-border-radius: 3px; 106 112 border-radius: 3px; 113 font-family: sans-serif; 114 width: 695px; 107 115 } 108 116 109 117 .form-table { … … 114 122 115 123 .form-table td { 116 124 margin-bottom: 9px; 117 padding: 10px ;125 padding: 10px 20px 10px 0; 118 126 border-bottom: 8px solid #fff; 119 font-size: 12px; 127 font-size: 14px; 128 vertical-align: top 120 129 } 121 130 122 131 .form-table th { 123 font-size: 1 3px;132 font-size: 14px; 124 133 text-align: left; 125 padding: 16px 10px 10px 10px;134 padding: 16px 20px 10px 0; 126 135 border-bottom: 8px solid #fff; 127 136 width: 130px; 128 137 vertical-align: top; 129 138 } 130 139 131 .form-table tr {132 background: #f3f3f3;133 }134 135 140 .form-table code { 136 141 line-height: 18px; 137 font-size: 1 8px;142 font-size: 14px; 138 143 } 139 144 140 145 .form-table p { … … 146 151 line-height: 20px; 147 152 font-size: 15px; 148 153 padding: 2px; 154 border: 1px #DFDFDF solid; 155 -webkit-border-radius: 3px; 156 -moz-border-radius: 3px; 157 -khtml-border-radius: 3px; 158 border-radius: 3px; 159 font-family: sans-serif; 149 160 } 150 161 151 162 .form-table th p { 152 163 font-weight: normal; 153 164 } 154 165 166 .form-table.install-success td { 167 vertical-align: middle; 168 padding: 16px 20px 10px 0; 169 } 170 171 .form-table.install-success td p { 172 margin: 0; 173 font-size: 14px; 174 } 175 176 .form-table.install-success td code { 177 margin: 0; 178 font-size: 18px; 179 } 180 155 181 #error-page { 156 182 margin-top: 50px; 157 183 } 158 184 159 185 #error-page p { 160 font-size: 1 2px;186 font-size: 14px; 161 187 line-height: 18px; 162 188 margin: 25px 0 20px; 163 189 } … … 238 264 .rtl #pass1, 239 265 .rtl #pass2 { 240 266 direction: ltr; 241 } 242 267 } 268 No newline at end of file -
wp-admin/setup-config.php
130 130 <tr> 131 131 <th scope="row"><label for="pwd">Password</label></th> 132 132 <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td> 133 <td>...and MySQL password.</td>133 <td>...and your MySQL password.</td> 134 134 </tr> 135 135 <tr> 136 136 <th scope="row"><label for="dbhost">Database Host</label></th> -
wp-admin/install.php
130 130 <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td> 131 131 </tr> 132 132 <tr> 133 <th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th> 133 134 <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td> 134 135 </tr> 135 136 </table> … … 220 221 221 222 <p><?php _e( 'WordPress has been installed. Were you expecting more steps? Sorry to disappoint.' ); ?></p> 222 223 223 <table class="form-table ">224 <table class="form-table install-success"> 224 225 <tr> 225 226 <th><?php _e( 'Username' ); ?></th> 226 <td>< code><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></code></td>227 <td><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></td> 227 228 </tr> 228 229 <tr> 229 230 <th><?php _e( 'Password' ); ?></th>