diff --git readme.html readme.html
index b9be942..87030a9 100644
|
|
|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
3 | 3 | <head> |
| 4 | <meta name="viewport" content="width=device-width" /> |
4 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | 6 | <title>WordPress › ReadMe</title> |
6 | 7 | <link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" /> |
diff --git wp-admin/css/install.css wp-admin/css/install.css
index 03c0e98..d0bef76 100644
|
|
|
1 | 1 | html { |
2 | | background: #f9f9f9; |
| 2 | background: #eee; |
| 3 | margin: 0 20px; |
3 | 4 | } |
4 | 5 | |
5 | 6 | body { |
6 | 7 | background: #fff; |
7 | | color: #333; |
8 | | font-family: sans-serif; |
9 | | margin: 2em auto; |
10 | | padding: 1em 2em; |
11 | | -webkit-border-radius: 3px; |
12 | | border-radius: 3px; |
13 | | border: 1px solid #dfdfdf; |
| 8 | color: #555; |
| 9 | font-family: 'Open Sans', sans-serif; |
| 10 | margin: 140px auto 25px; |
| 11 | padding: 20px 20px 10px 20px; |
| 12 | border: 1px solid #dedede; |
| 13 | -webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1); |
| 14 | box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1); |
14 | 15 | max-width: 700px; |
| 16 | -webkit-font-smoothing: subpixel-antialiased; |
15 | 17 | } |
16 | 18 | |
17 | 19 | a { |
18 | | color: #21759b; |
| 20 | color: #0074a2; |
19 | 21 | text-decoration: none; |
20 | 22 | } |
21 | 23 | |
22 | 24 | a:hover { |
23 | | color: #d54e21; |
| 25 | color: #2ea2cc; |
24 | 26 | } |
25 | 27 | |
26 | 28 | h1 { |
27 | | border-bottom: 1px solid #dadada; |
| 29 | border-bottom: 1px solid #dedede; |
28 | 30 | clear: both; |
29 | 31 | color: #666; |
30 | | font: 24px Georgia, "Times New Roman", Times, serif; |
31 | | margin: 30px 0 0 0; |
| 32 | font-size: 24px; |
| 33 | margin: 30px 0; |
32 | 34 | padding: 0; |
33 | 35 | padding-bottom: 7px; |
| 36 | font-weight: normal; |
34 | 37 | } |
35 | 38 | |
36 | 39 | h2 { |
… |
… |
p, li, dd, dt { |
44 | 47 | } |
45 | 48 | |
46 | 49 | code, .code { |
47 | | font-size: 14px; |
| 50 | font-family: Consolas, Monaco, monospace; |
48 | 51 | } |
49 | 52 | |
50 | 53 | ul, ol, dl { |
… |
… |
abbr { |
64 | 67 | text-align:center |
65 | 68 | } |
66 | 69 | #logo a { |
67 | | background-image: url('../images/wordpress-logo.png?ver=20120216'); |
68 | | background-size: 274px 63px; |
69 | | background-position: top center; |
| 70 | background-image: url('../images/wordpress-logo.svg?ver=20131107'); |
| 71 | background-size: 80px 80px; |
| 72 | background-position: center top; |
70 | 73 | background-repeat: no-repeat; |
71 | | height: 67px; |
| 74 | color: #999; |
| 75 | height: 80px; |
| 76 | font-size: 20px; |
| 77 | font-weight: normal; |
| 78 | line-height: 1.3em; |
| 79 | margin: -130px auto 25px; |
| 80 | padding: 0; |
| 81 | text-decoration: none; |
| 82 | width: 80px; |
72 | 83 | text-indent: -9999px; |
73 | 84 | outline: none; |
74 | 85 | overflow: hidden; |
75 | 86 | display: block; |
76 | 87 | } |
77 | | @media print, |
78 | | (-o-min-device-pixel-ratio: 5/4), |
79 | | (-webkit-min-device-pixel-ratio: 1.25), |
80 | | (min-resolution: 120dpi) { |
81 | | #logo a { |
82 | | background-image: url('../images/wordpress-logo-2x.png?ver=20120412'); |
83 | | background-size: 274px 63px; |
84 | | } |
85 | | } |
86 | 88 | .step { |
87 | 89 | margin: 20px 0 15px; |
88 | 90 | } |
… |
… |
abbr { |
95 | 97 | } |
96 | 98 | textarea { |
97 | 99 | border: 1px solid #dfdfdf; |
98 | | -webkit-border-radius: 3px; |
99 | | border-radius: 3px; |
100 | 100 | font-family: sans-serif; |
101 | | width: 695px; |
| 101 | width: 100%; |
| 102 | -moz-box-sizing: border-box; |
| 103 | -webkit-box-sizing: border-box; |
| 104 | -ms-box-sizing: border-box; /* ie8 only */ |
| 105 | box-sizing: border-box; |
102 | 106 | } |
103 | 107 | |
104 | 108 | .form-table { |
… |
… |
textarea { |
139 | 143 | font-size: 15px; |
140 | 144 | padding: 2px; |
141 | 145 | border: 1px #dfdfdf solid; |
142 | | -webkit-border-radius: 3px; |
143 | | border-radius: 3px; |
144 | 146 | font-family: sans-serif; |
145 | 147 | } |
146 | 148 | |
… |
… |
textarea { |
216 | 218 | |
217 | 219 | .message { |
218 | 220 | border: 1px solid #c00; |
219 | | -webkit-border-radius: 3px; |
220 | | border-radius: 3px; |
221 | 221 | padding: 0.5em 0.7em; |
222 | 222 | margin: 5px 0 15px; |
223 | 223 | background-color: #ffebe8; |
… |
… |
body.rtl { |
261 | 261 | .rtl #pass2 { |
262 | 262 | direction: ltr; |
263 | 263 | } |
| 264 | |
| 265 | @media only screen and (max-width: 799px) { |
| 266 | body { |
| 267 | margin-top: 115px; |
| 268 | } |
| 269 | #logo a { |
| 270 | margin: -125px auto 30px; |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | @media screen and ( max-width: 782px ) { |
| 275 | |
| 276 | .form-table { |
| 277 | margin-top: 0; |
| 278 | } |
| 279 | |
| 280 | .form-table th, |
| 281 | .form-table td { |
| 282 | display: block; |
| 283 | width: auto; |
| 284 | vertical-align: middle; |
| 285 | } |
| 286 | |
| 287 | .form-table th { |
| 288 | border-bottom: 1px solid #eee; |
| 289 | padding: 20px 0 5px; |
| 290 | } |
| 291 | |
| 292 | .form-table td { |
| 293 | padding: 5px 0; |
| 294 | border: 0; |
| 295 | margin: 0; |
| 296 | } |
| 297 | |
| 298 | textarea, |
| 299 | input { |
| 300 | font-size: 16px; |
| 301 | } |
| 302 | |
| 303 | .form-table td input[type="text"], |
| 304 | .form-table td input[type="password"], |
| 305 | .form-table td select, |
| 306 | .form-table td textarea, |
| 307 | .form-table span.description { |
| 308 | width: 100%; |
| 309 | font-size: 16px; |
| 310 | line-height: 1.5; |
| 311 | padding: 7px 10px; |
| 312 | display: block; |
| 313 | max-width: none; |
| 314 | box-sizing: border-box; |
| 315 | -mox-box-sizing: border-box; |
| 316 | } |
| 317 | |
| 318 | } |
diff --git wp-admin/install.php wp-admin/install.php
index 0b6ac2e..587d79a 100644
|
|
function display_header() { |
56 | 56 | <!DOCTYPE html> |
57 | 57 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
58 | 58 | <head> |
| 59 | <meta name="viewport" content="width=device-width" /> |
59 | 60 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
60 | 61 | <title><?php _e( 'WordPress › Installation' ); ?></title> |
61 | 62 | <?php |
… |
… |
switch($step) { |
249 | 250 | } |
250 | 251 | break; |
251 | 252 | } |
| 253 | if ( !wp_is_mobile() ) { |
252 | 254 | ?> |
253 | 255 | <script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script> |
| 256 | <?php } ?> |
254 | 257 | <?php wp_print_scripts( 'user-profile' ); ?> |
255 | 258 | </body> |
256 | 259 | </html> |
diff --git wp-admin/maint/repair.php wp-admin/maint/repair.php
index 98bf579..7691e7c 100644
|
|
header( 'Content-Type: text/html; charset=utf-8' ); |
14 | 14 | <!DOCTYPE html> |
15 | 15 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
16 | 16 | <head> |
| 17 | <meta name="viewport" content="width=device-width" /> |
17 | 18 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
18 | 19 | <title><?php _e( 'WordPress › Database Repair' ); ?></title> |
19 | 20 | <?php |
… |
… |
header( 'Content-Type: text/html; charset=utf-8' ); |
26 | 27 | <?php |
27 | 28 | |
28 | 29 | if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { |
29 | | echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><code>define('WP_ALLOW_REPAIR', true);</code>"; |
| 30 | echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; |
30 | 31 | } elseif ( isset( $_GET['repair'] ) ) { |
31 | 32 | $optimize = 2 == $_GET['repair']; |
32 | 33 | $okay = true; |
… |
… |
if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { |
103 | 104 | $problem_output .= "$table: $problem\n"; |
104 | 105 | echo '<p><textarea name="errors" id="errors" rows="20" cols="60">' . esc_textarea( $problem_output ) . '</textarea></p>'; |
105 | 106 | } else { |
106 | | echo '<p>' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "</p><code>define('WP_ALLOW_REPAIR', true);</code>"; |
| 107 | echo '<p>' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; |
107 | 108 | } |
108 | 109 | } else { |
109 | 110 | if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] ) |
diff --git wp-admin/network/sites.php wp-admin/network/sites.php
index 37f6440..9d1d7ce 100644
|
|
if ( isset( $_GET['action'] ) ) { |
65 | 65 | <!DOCTYPE html> |
66 | 66 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
67 | 67 | <head> |
| 68 | <meta name="viewport" content="width=device-width" /> |
68 | 69 | <title><?php _e( 'WordPress › Confirm your action' ); ?></title> |
69 | 70 | |
70 | 71 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
diff --git wp-admin/setup-config.php wp-admin/setup-config.php
index d8ae356..2bcdfd2 100644
|
|
function setup_config_display_header() { |
99 | 99 | <!DOCTYPE html> |
100 | 100 | <html xmlns="http://www.w3.org/1999/xhtml"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>> |
101 | 101 | <head> |
| 102 | <meta name="viewport" content="width=device-width" /> |
102 | 103 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
103 | 104 | <title><?php _e( 'WordPress › Setup Configuration File' ); ?></title> |
104 | 105 | <link rel="stylesheet" href="css/install.css?ver=<?php echo preg_replace( '/[^0-9a-z\.-]/i', '', $wp_version ); ?>" type="text/css" /> |
diff --git wp-admin/upgrade.php wp-admin/upgrade.php
index 24fe976..675a901 100644
|
|
else |
50 | 50 | <!DOCTYPE html> |
51 | 51 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
52 | 52 | <head> |
| 53 | <meta name="viewport" content="width=device-width" /> |
53 | 54 | <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" /> |
54 | 55 | <title><?php _e( 'WordPress › Update' ); ?></title> |
55 | 56 | <?php |