[wp-trac] Re: [WordPress Trac] #2778: oops-smiley doesn work anymore
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 3 18:20:53 GMT 2006
#2778: oops-smiley doesn work anymore
-----------------------+----------------------------------------------------
Id: 2778 | Status: new
Component: General | Modified: Sat Jun 3 18:20:53 2006
Severity: normal | Milestone: 2.0.3
Priority: normal | Version: 2.0.2
Owner: anonymous | Reporter: HenkvandeKamer
-----------------------+----------------------------------------------------
Comment (by HenkvandeKamer):
I do not know how to create the diff's used here (they are different from
the normal diff's). But the solution is indeed place the :oops: above the
:o lines. Ther is also a double :) line BTW. After the changes:
{{{
if (!isset($wpsmiliestrans)) {
$wpsmiliestrans = array(
' :)' => 'icon_smile.gif',
' :-)' => 'icon_smile.gif',
':smile:' => 'icon_smile.gif',
' :D' => 'icon_biggrin.gif',
' :-D' => 'icon_biggrin.gif',
':grin:' => 'icon_biggrin.gif',
' :(' => 'icon_sad.gif',
' :-(' => 'icon_sad.gif',
':sad:' => 'icon_sad.gif',
':oops:' => 'icon_redface.gif',
' :o' => 'icon_surprised.gif',
' :-o' => 'icon_surprised.gif',
':eek:' => 'icon_surprised.gif',
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2778>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list