#2778 closed defect (bug) (fixed)
oops-smiley doesn work anymore
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.0.2 |
| Component: | General | Keywords: | bg|has-patch bg|tested |
| Focuses: | Cc: |
Description
After the upgrade to WordPress 2.0.3 the :oops: doesn give the oops-smiley. I think the problem is the removal of the sort in ticket 2550. The solution is probably a one time sort of the array above the removed code? In there the :o comes before the :oops:.
Attachments (1)
Change History (7)
#3
@
20 years ago
- Keywords bg|has-patch bg|tested added; oops smiley smilie removed
- Owner changed from anonymous to robmiller
- Status changed from new to assigned
I did a one-time sort of the array and fixed the indenting while I was at it. All sorted now :)
Note: See
TracTickets for help on using
tickets.
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',