From dd821410c99e2f9c7cad553522e7c3ffee80e544 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sat, 2 Jan 2016 04:34:22 +0000 Subject: [PATCH] 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 --- wp-includes/formatting.php | 18 +++++++++++++++++- wp-includes/version.php | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index bc17553c01..b7b8460be4 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -4801,4 +4801,20 @@ function url_shorten( $url, $length = 35 ) { $short_url = substr( $short_url, 0, $length - 3 ) . '…'; } return $short_url; -} \ No newline at end of file +} + +/** + * 4.4.x hotfix for hidden configure links on admin dashboard. + * + * @ignore + */ +function _wp_441_dashboard_display_configure_links_css() { + echo ''; +} +add_action( 'admin_print_styles-index.php', '_wp_441_dashboard_display_configure_links_css' ); \ No newline at end of file diff --git a/wp-includes/version.php b/wp-includes/version.php index 27723ea750..a22182bfa0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.