Ticket #46980: 46980.2.diff
File 46980.2.diff, 12.1 KB (added by , 5 years ago) |
---|
-
src/readme.html
26 26 <li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li> 27 27 </ol> 28 28 </li> 29 <li>Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/forums/" title="WordPress support">support forums</a> with as much data as you can gather.</li>29 <li>Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/forums/">WordPress support forums</a> with as much data as you can gather.</li> 30 30 <li><strong>If you did not enter a password, note the password given to you.</strong> If you did not provide a username, it will be <code>admin</code>.</li> 31 31 <li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on “Profile” to change the password.</li> 32 32 </ol> … … 48 48 </ol> 49 49 50 50 <h2>Migrating from other systems</h2> 51 <p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php" title="Import to WordPress">our import tools</a>.</p>51 <p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p> 52 52 53 53 <h2>System Requirements</h2> 54 54 <ul> … … 76 76 <dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd> 77 77 <dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt> 78 78 <dd>If you’ve looked everywhere and still can’t find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd> 79 <dt><a href="https://codex.wordpress.org/IRC">WordPress <abbr title="Internet Relay Chat">IRC</abbr>Channel</a></dt>79 <dt><a href="https://codex.wordpress.org/IRC">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt> 80 80 <dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="irc://irc.freenode.net/wordpress">irc.freenode.net #wordpress</a>)</dd> 81 81 </dl> 82 82 … … 83 83 <h2>Final Notes</h2> 84 84 <ul> 85 85 <li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="https://wordpress.org/support/forums/">Support Forums</a>.</li> 86 <li>WordPress has a robust plugin <abbr title="application programming interface">API</abbr>that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. You shouldn’t modify any of the core code.</li>86 <li>WordPress has a robust plugin <abbr>API</abbr> (Application Programming Interface) that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. You shouldn’t modify any of the core code.</li> 87 87 </ul> 88 88 89 89 <h2>Share the Love</h2> 90 90 <p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.</p> 91 91 92 <p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/" title="Donate to WordPress">donating</a>.</p>92 <p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p> 93 93 94 94 <h2>License</h2> 95 <p>WordPress is free software, and is released under the terms of the <abbr title="GNU General Public License">GPL</abbr>version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>95 <p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p> 96 96 97 97 </body> 98 98 </html> -
src/wp-admin/css/common.css
3090 3090 font-size: 13px; 3091 3091 background: #f9f9f9; 3092 3092 -moz-tab-size: 4; 3093 -o-tab-size: 4;3094 3093 tab-size: 4; 3095 3094 } 3096 3095 -
src/wp-admin/css/customize-controls.css
359 359 margin-top: 12px; 360 360 } 361 361 362 .date-time-fields .date-timezone {363 line-height: 2.2;364 text-decoration: none;365 }366 367 362 #customize-control-changeset_preview_link { 368 363 margin-top: 6px; 369 364 } … … 1589 1584 font-size: 12px; 1590 1585 padding: 6px 8px; 1591 1586 -moz-tab-size: 2; 1592 -o-tab-size: 2;1593 1587 tab-size: 2; 1594 1588 } 1595 1589 .customize-control-code_editor textarea, … … 2784 2778 width: 80px; 2785 2779 } 2786 2780 2787 .date-time-fields .date-timezone {2788 line-height: 3.2;2789 }2790 2791 2781 #customize-control-changeset_preview_link a { 2792 2782 bottom: 16px; 2793 2783 } -
src/wp-admin/css/list-tables.css
310 310 width: 10%; 311 311 } 312 312 313 .column-date span[title] { 314 -webkit-text-decoration: dotted underline; 315 text-decoration: dotted underline; 316 } 317 313 318 .fixed .column-posts { 314 319 width: 74px; 315 320 } -
src/wp-admin/includes/class-wp-posts-list-table.php
1127 1127 } else { 1128 1128 1129 1129 /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ 1130 echo '< abbr title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, 'date', $mode ) . '</abbr>';1130 echo '<span title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, 'date', $mode ) . '</span>'; 1131 1131 } 1132 1132 } 1133 1133 -
src/wp-admin/options-general.php
228 228 <?php echo wp_timezone_choice( $tzstring, get_user_locale() ); ?> 229 229 </select> 230 230 231 <p class="description" id="timezone-description"><?php _e( 'Choose either a city in the same timezone as you or a UTC timezone offset.' ); ?></p> 231 <p class="description" id="timezone-description"> 232 <?php 233 printf( 234 /* translators: %s: UTC abbreviation */ 235 __( 'Choose either a city in the same timezone as you or a %s (Coordinated Universal Time) time offset.' ), 236 '<abbr>UTC</abbr>' 237 ); 238 ?> 239 </p> 232 240 233 241 <p class="timezone-info"> 234 242 <span id="utc-time"> 235 243 <?php 236 244 printf( 237 /* translators: 1: UTC abbreviation, 2: UTC time */ 238 __( 'Universal time (%1$s) is %2$s.' ), 239 '<abbr>' . __( 'UTC' ) . '</abbr>', 245 /* translators: 1: UTC time */ 246 __( 'Universal time is %1$s.' ), 240 247 '<code>' . date_i18n( $timezone_format, false, true ) . '</code>' 241 248 ); 242 249 ?> -
src/wp-includes/css/admin-bar.css
1065 1065 to 100% viewport width at responsive sizes. */ 1066 1066 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { 1067 1067 min-width: -webkit-fit-content; 1068 min-width: -moz-fit-content;1069 1068 min-width: fit-content; 1070 1069 } 1071 1070 -
src/wp-includes/customize/class-wp-customize-date-time-control.php
173 173 <option value="pm"><?php esc_html_e( 'PM' ); ?></option> 174 174 </select> 175 175 <# } #> 176 < abbr class="date-timezone" aria-label="<?php esc_attr_e( 'Timezone' ); ?>" title="<?php echo esc_attr( $timezone_info['description'] ); ?>"><?php echo esc_html( $timezone_info['abbr'] ); ?></abbr>176 <p><?php echo $timezone_info['description']; ?></p> 177 177 </div> 178 178 </fieldset> 179 179 <# } #> … … 228 228 229 229 if ( $tz ) { 230 230 $now = new DateTime( 'now', $tz ); 231 $formatted_gmt_offset = sprintf( 'UTC%s', $this->format_gmt_offset( $tz->getOffset( $now ) / 3600 ));231 $formatted_gmt_offset = $this->format_gmt_offset( $tz->getOffset( $now ) / 3600 ); 232 232 $tz_name = str_replace( '_', ' ', $tz->getName() ); 233 233 $timezone_info['abbr'] = $now->format( 'T' ); 234 234 235 /* translators: 1: timezone name, 2: timezone abbreviation, 3: gmt offset */ 236 $timezone_info['description'] = sprintf( __( 'Timezone is %1$s (%2$s), currently %3$s.' ), $tz_name, $timezone_info['abbr'], $formatted_gmt_offset ); 235 $timezone_info['description'] = sprintf( 236 /* translators: 1: timezone name, 2: timezone abbreviation, 3: UTC abbreviation and offset, 4: UTC offset */ 237 __( 'Your timezone is set to %1$s (%2$s), currently %3$s (Coordinated Universal Time %4$s).' ), 238 $tz_name, 239 '<abbr>' . $timezone_info['abbr'] . '</abbr>', 240 '<abbr>UTC</abbr>' . $formatted_gmt_offset, 241 $formatted_gmt_offset 242 ); 237 243 } else { 238 244 $timezone_info['description'] = ''; 239 245 } 240 246 } else { 241 $formatted_gmt_offset = $this->format_gmt_offset( intval( get_option( 'gmt_offset', 0 ) ) ); 242 $timezone_info['abbr'] = sprintf( 'UTC%s', $formatted_gmt_offset ); 247 $formatted_gmt_offset = $this->format_gmt_offset( intval( get_option( 'gmt_offset', 0 ) ) ); 243 248 244 /* translators: %s: UTC offset */ 245 $timezone_info['description'] = sprintf( __( 'Timezone is %s.' ), $timezone_info['abbr'] ); 249 $timezone_info['description'] = sprintf( 250 /* translators: 1: UTC abbreviation and offset, 2: UTC offset */ 251 __( 'Your timezone is set to %1$s (Coordinated Universal Time %2$s).' ), 252 '<abbr>UTC</abbr>' . $formatted_gmt_offset, 253 $formatted_gmt_offset 254 ); 246 255 } 247 256 248 257 return $timezone_info; -
tests/qunit/index.html
949 949 <option value="pm">PM</option> 950 950 </select> 951 951 <# } #> 952 < abbr class="date-timezone" aria-label="Timezone" title="Timezone is America/Los Angeles (PDT), currently UTC-7.">PDT</abbr>952 <p>Your timezone is set to America/Los Angeles (<abbr>PDT</abbr>), currently <abbr>UTC</abbr>-7 (Coordinated Universal Time -7).</p> 953 953 </div> 954 954 </fieldset> 955 955 <# } #>