mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
Admin: After [35128], make the 'Configure' link work again for dashboard widgets.
This merges the CSS changes from [35896] into an inline function in formatting.php to avoid a `wp-admin.min.css` rebuild. Fixes #34987. Built from https://develop.svn.wordpress.org/branches/4.4@36153 git-svn-id: http://core.svn.wordpress.org/branches/4.4@36119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ef6daa428
commit
dd821410c9
@ -4801,4 +4801,20 @@ function url_shorten( $url, $length = 35 ) {
|
||||
$short_url = substr( $short_url, 0, $length - 3 ) . '…';
|
||||
}
|
||||
return $short_url;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.4.x hotfix for hidden configure links on admin dashboard.
|
||||
*
|
||||
* @ignore
|
||||
*/
|
||||
function _wp_441_dashboard_display_configure_links_css() {
|
||||
echo '<style type="text/css">
|
||||
.postbox .button-link .edit-box { display: none; }
|
||||
.wp-admin .edit-box { display: block; opacity: 0; }
|
||||
.hndle:hover .edit-box, .edit-box:focus { opacity: 1; }
|
||||
#dashboard-widgets h2 a { text-decoration: underline; }
|
||||
#dashboard-widgets .hndle .postbox-title-action { float: right; line-height: 1.2; }
|
||||
</style>';
|
||||
}
|
||||
add_action( 'admin_print_styles-index.php', '_wp_441_dashboard_display_configure_links_css' );
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4.1-alpha-36152';
|
||||
$wp_version = '4.4.1-alpha-36153';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user