Make WordPress Core

Changeset 19159


Ignore:
Timestamp:
11/04/2011 06:11:33 PM (13 years ago)
Author:
azaozz
Message:

Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r19156 r19159  
    632632        'href'  => '#',
    633633        'meta'  => array(
    634             'class'   => 'admin-bar-search',
    635             // @TODO: Replace me with something far less hacky
    636             'onclick' => 'if ( event.target.value != "Search" ) { return false; }',
    637         ),
     634            'class'   => 'admin-bar-search'
     635        )
    638636    ) );
    639637}
Note: See TracChangeset for help on using the changeset viewer.