Skip to content

Commit 0cc0a65

Browse files
committed
Styles for code and kbd from Matt Thomas. fixes WordPress#7339
git-svn-id: https://develop.svn.wordpress.org/trunk@9658 602fd350-edb4-49c9-b593-d223f7449a82
1 parent cb0d554 commit 0cc0a65

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

wp-admin/options-permalink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function blurry() {
179179

180180
<h3><?php _e('Optional'); ?></h3>
181181
<?php if ($is_apache) : ?>
182-
<p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
182+
<p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <kbd>topics</kbd> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
183183
<?php else : ?>
184184
<p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
185185
<?php endif; ?>

wp-admin/options-writing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</table>
8181

8282
<h3><?php _e('Post via e-mail') ?></h3>
83-
<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
83+
<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
8484

8585
<table class="form-table">
8686
<tr valign="top">

wp-admin/wp-admin.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ table#availablethemes td.bottom {
159159
font-family: "Courier New", Courier, monospace;
160160
}
161161

162+
kbd, code {
163+
background: #e5e5e5;
164+
padding: 2px 3px;
165+
margin: 0 1px;
166+
font-size: 12px;
167+
}
168+
162169
.commentlist li {
163170
padding: 1em 1em .2em;
164171
margin: 0;

wp-includes/script-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ function wp_default_styles( &$styles ) {
301301

302302
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie', 'plugin-install', 'farbtastic' );
303303

304-
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081112' );
304+
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081112b' );
305305
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
306306

307307
$styles->add( 'ie', '/wp-admin/css/ie.css' );

0 commit comments

Comments
 (0)