#25303 closed defect (bug) (fixed)
Fix regular expression used for smiley translations to work when there is only one registered emoticon.
Reported by: | yonasy | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Formatting | Keywords: | has-patch needs-unit-tests |
Focuses: | Cc: |
Description
Without this patch, the string ":) :) :) :)" will not be replaced with four smilies when ":)" is the only emoticon in $wpsmiliestrans from smilies_init(), wp-includes/functions.php.
Attachments (1)
Change History (6)
#2
@
11 years ago
- Component changed from General to Formatting
- Keywords has-patch needs-unit-tests added
Needs unit tests. In here: http://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/Smilies.php.
Note: See
TracTickets for help on using
tickets.
Related: #16448, #20124