Opened 21 years ago
Closed 21 years ago
#213 closed enhancement (invalid)
Smilies should be a plug-in
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 1.2 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
I like to modify the WP code to add my own smilies, however every time I upgrade, my changes are overridden.
Personally, I think the smiley functionality should be a plugin, and not a built-in feature, making it more adaptable to change.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Actually, vars.php only provides _default_ smilies.
I wanted custom smilies too, so i've set them in my wp-config.php file, which is not updated on upgrades. And it just works, and it's documented in the sources. Here's a strip from my wp-config.php:
===
to enable German language support.
define ('WPLANG', );
/* Custom smilies */
$wpsmiliestrans = array(
);
/* Stop editing */
===
It's a pity tho, that setting $wpsmiliestrans in my-hacks.php (instead of wp-config.php) does NOT work. ;/