Ticket #7552: 7552.dashboard-3.diff
File 7552.dashboard-3.diff, 1012 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/dashboard.php
109 109 return; 110 110 } 111 111 list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); 112 $widget_name .= ' <a href="' . clean_url( "$url#$widget_id" ) . '" class=" open-box">' . __( 'Edit' ) . '</a>';112 $widget_name .= ' <a href="' . clean_url( "$url#$widget_id" ) . '" class="edit-box open-box">' . __( 'Edit' ) . '</a>'; 113 113 } 114 114 add_meta_box( $widget_id, $widget_name , $callback, 'dashboard', 'normal', 'core' ); 115 115 } -
wp-admin/css/dashboard.css
1 .edit-box { 2 display: none; 3 } 4 5 h3:hover .edit-box { 6 display: inline; 7 } 8 1 9 form .input-text-wrap { 2 10 border-style: solid; 3 11 border-width: 1px;