#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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Formatting | Version: | 3.8 |
| Severity: | normal | Keywords: | has-patch needs-unit-tests |
| Cc: | Focuses: |
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
@
13 years ago
- Component General → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related: #16448, #20124