[wp-trac] [WordPress Trac] #28930: Remove unused dashboard-widget-* CSS classes
WordPress Trac
noreply at wordpress.org
Thu Jul 17 07:26:27 UTC 2014
#28930: Remove unused dashboard-widget-* CSS classes
--------------------------------+-----------------------------
Reporter: michalzuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
I was researching {{{/* @todo: are these actually used anywhere? no non-
CSS results in plugin search */}}}
and for me the result is that {{{.dashboard-widget-title, .dashboard-
widget-notice, .dashboard-widget-error}}}
are not used. Am I missing here something?
{{{
wordpress-svn$ grep -ir 'dashboard-widget-error' src
src/wp-admin/css/dashboard.css:305:div.dashboard-widget-error {
}}}
{{{
wordpress-svn$ grep -ir 'dashboard-widget-notice' src
src/wp-admin/css/dashboard.css:309:div.dashboard-widget-notice {
}}}
{{{
wordpress-svn$ grep -ir 'dashboard-widget-' src
src/wp-admin/css/colors/_admin.scss:24:div.dashboard-widget-submit
input:hover,
src/wp-admin/css/common.css:711:h3.dashboard-widget-title,
src/wp-admin/css/common.css:712:h3.dashboard-widget-title span,
src/wp-admin/css/common.css:713:h3.dashboard-widget-title small,
src/wp-admin/css/dashboard.css:77:h3.dashboard-widget-title,
src/wp-admin/css/dashboard.css:78:h3.dashboard-widget-title span,
src/wp-admin/css/dashboard.css:79:h3.dashboard-widget-title small {
src/wp-admin/css/dashboard.css:83:h3.dashboard-widget-title small a {
src/wp-admin/css/dashboard.css:87:h3.dashboard-widget-title small a:hover
{
src/wp-admin/css/dashboard.css:288:#dashboard_primary .dashboard-widget-
control-form {
src/wp-admin/css/dashboard.css:296:.dashboard-widget-control-form {
src/wp-admin/css/dashboard.css:300:.dashboard-widget-control-form p {
src/wp-admin/css/dashboard.css:305:div.dashboard-widget-error {
src/wp-admin/css/dashboard.css:309:div.dashboard-widget-notice {
src/wp-admin/includes/dashboard.php:113: check_admin_referer( 'edit-
dashboard-widget_' .
$_POST['widget_id'], 'dashboard-widget-nonce' );
src/wp-admin/includes/dashboard.php:158: echo '<form action=""
method="post" class="dashboard-
widget-control-form">';
src/wp-admin/includes/dashboard.php:160: wp_nonce_field( 'edit-dashboard-
widget_' . $meta_box['id'],
'dashboard-widget-nonce' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28930>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list