[wp-trac] [WordPress Trac] #2550: remove smilies uksort
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 9 16:38:16 GMT 2006
#2550: remove smilies uksort
--------------------------+-------------------------------------------------
Id: 2550 | Status: new
Component: Optimization | Modified: Thu Mar 9 16:38:16 2006
Severity: trivial | Milestone: 2.1
Priority: low | Version: 2.0.1
Owner: anonymous | Reporter: random
--------------------------+-------------------------------------------------
The sort of the smilies array in vars.php is slow and pointless. It's
adding ~1.5% overhead to every page load on my stock install.
As far as I can tell, it just rearranges the array on the off chance that
a) you happen to display the smilies in a row with (e.g.) wp-grins, and b)
you actually care what order they appear in. That isn't most people, and
it can be done in a [http://mattread.com/projects/wp-plugins/more-smilies-
plugin/ plugin] besides.
See also [http://trac.wordpress.org/ticket/213 #213]: even if smilies stay
in the core, they don't need to be editable by adding functions to wp-
config.php, especially when the result is a slower WordPress for everybody
else.
--
Ticket URL: <http://trac.wordpress.org/ticket/2550>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list