WordPress.org

Make WordPress Core

Changeset 9121


Ignore:
Timestamp:
10/10/08 23:58:30 (6 years ago)
Author:
ryan
Message:

Edit link on hover for dash. Props mdawaffe. see #7552

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/dashboard.css

    r9120 r9121  
     1.edit-box { 
     2    display: none; 
     3} 
     4 
     5h3:hover .edit-box { 
     6    display: inline; 
     7} 
     8 
    19form .input-text-wrap { 
    210    border-style: solid; 
  • trunk/wp-admin/includes/dashboard.php

    r9120 r9121  
    110110        } 
    111111        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>'; 
    113113    } 
    114114    add_meta_box( $widget_id, $widget_name , $callback, 'dashboard', 'normal', 'core' ); 
Note: See TracChangeset for help on using the changeset viewer.