[wp-trac] [WordPress Trac] #19490: Filter for 'Howdy' text in admin bar
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 10 16:35:51 UTC 2011
#19490: Filter for 'Howdy' text in admin bar
-------------------------------------+------------------------------
Reporter: griffinjt | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Admin Bar | Version: 3.3
Severity: minor | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by dimadin):
There is already 'gettext' filter where you can globally replace "Howdy"
in all WordPress versions.
Example:
{{{
function md_replace_howdy( $text ) {
$text = str_replace( 'Howdy', 'Hi', $text );
return $text;
}
add_filter( 'gettext', 'md_replace_howdy' );
}}}
Or a little different code [http://wpmu.org/daily-tip-how-to-change-the-
wordpress-howdy-message-to-a-custom-welcome/ on wpmu.org].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19490#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list