Skip to content

Commit 83b69a4

Browse files
committed
Fix header/message alignment in Press This. for trunk. see #19725.
git-svn-id: https://develop.svn.wordpress.org/trunk@19662 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 43f6f95 commit 83b69a4

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

wp-admin/about.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@
3333
</a>
3434
</h2>
3535

36+
<div class="changelog point-releases">
37+
<h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 1 ); ?></h3>
38+
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
39+
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', 13 ), '3.3.1', number_format_i18n( 13 ) ); ?>
40+
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.3.1' ); ?>
41+
</p>
42+
</div>
43+
3644
<div class="changelog">
3745
<h3><?php _e( 'Easier Uploading' ); ?></h3>
3846

wp-admin/press-this.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,20 @@ function image_selector(el) {
314314
do_action('admin_print_scripts');
315315
do_action('admin_head');
316316
?>
317+
<style type="text/css">
318+
#message {
319+
margin: 10px 0;
320+
}
321+
#title,
322+
.press-this #wphead {
323+
margin-left: 0;
324+
margin-right: 0;
325+
}
326+
.rtl.press-this #header-logo,
327+
.rtl.press-this #wphead h1 {
328+
float: right;
329+
}
330+
</style>
317331
<script type="text/javascript">
318332
var wpActiveEditor = 'content';
319333

@@ -444,7 +458,7 @@ function setup_photo_actions() {
444458
});
445459
</script>
446460
</head>
447-
<body class="press-this wp-admin">
461+
<body class="press-this wp-admin<?php if ( is_rtl() ) echo ' rtl'; ?>">
448462
<form action="press-this.php?action=post" method="post">
449463
<div id="poststuff" class="metabox-holder">
450464
<div id="side-sortables" class="press-this-sidebar">

0 commit comments

Comments
 (0)