Permalink
Browse files

Make the Browse Happy box look somewhat okay in Internet Explorer. Re…

…move html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
nacin
nacin committed Oct 10, 2011
1 parent fc66ba3 commit 0a1fe6dc0202b5fb6981a55877c215efdb1ce450
Showing with 11 additions and 3 deletions.
  1. +1 −1 wp-admin/css/ie.css
  2. +8 −0 wp-admin/css/ie.dev.css
  3. +1 −1 wp-admin/includes/dashboard.php
  4. +1 −1 wp-includes/script-loader.php
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -49,6 +49,14 @@
line-height: 14px;
}
+#dashboard_browser_nag {
+ color: #fff;
+}
+
+#dashboard_browser_nag .browser-icon {
+ position: relative;
+}
+
.tablenav-pages .current-page {
vertical-align: middle;
}
@@ -1189,7 +1189,7 @@ function wp_dashboard_browser_nag() {
$browser_nag_class = ' has-browser-icon';
}
$notice .= "<p class='browser-update-nag{$browser_nag_class}'>{$msg}</p>";
- $notice .= sprintf( __( '<p><a href="%1$s" class="update-browser-link">Update %2$s</a> or learn how to <a href="%3$s" class="browse-happy-link">browse happy</a></p>' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ), 'http://browsehappy.com/' );
+ $notice .= '<p>' . sprintf( __( '<a href="%1$s" class="update-browser-link">Update %2$s</a> or learn how to <a href="%3$s" class="browse-happy-link">browse happy</a>' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ), 'http://browsehappy.com/' ) . '</p>';
$notice .= '<p class="hide-if-no-js"><a href="" class="dismiss">' . __( 'Dismiss' ) . '</a></p>';
$notice .= '<div class="clear"></div>';
}
@@ -433,7 +433,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111008' );
- $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110919' );
+ $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111010' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)

0 comments on commit 0a1fe6d

Please sign in to comment.