Make WordPress Core

Changeset 36153


Ignore:
Timestamp:
01/02/2016 04:33:08 AM (8 years ago)
Author:
dd32
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4/src/wp-includes/formatting.php

    r36101 r36153  
    48034803    return $short_url;
    48044804}
     4805
     4806/**
     4807 * 4.4.x hotfix for hidden configure links on admin dashboard.
     4808 *
     4809 * @ignore
     4810 */
     4811function _wp_441_dashboard_display_configure_links_css() {
     4812    echo '<style type="text/css">
     4813        .postbox .button-link .edit-box { display: none; }
     4814        .wp-admin .edit-box { display: block; opacity: 0; }
     4815        .hndle:hover .edit-box, .edit-box:focus { opacity: 1; }
     4816        #dashboard-widgets h2 a { text-decoration: underline; }
     4817        #dashboard-widgets .hndle .postbox-title-action { float: right; line-height: 1.2; }
     4818    </style>';
     4819}
     4820add_action( 'admin_print_styles-index.php', '_wp_441_dashboard_display_configure_links_css' );
Note: See TracChangeset for help on using the changeset viewer.