[wp-trac] [WordPress Trac] #11214: Improve get_themes() so that the size of the in-memory data is smaller

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 26 08:26:27 UTC 2012


#11214: Improve get_themes() so that the size of the in-memory data is smaller
-------------------------+-----------------------------
 Reporter:  westi        |       Owner:  westi
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Themes       |     Version:  2.9
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+-----------------------------

Comment (by westi):

 This came up again so I took a quick look.

 Attached patch:
  * Reduces in memory storage by approx 50% compares to 2.9 post [12226]
 for 87 themes (wpcom public themes repo r2679)
  * Changes the data we store which may affect plugins / themes although
 fixing them would be trivial
  * Fixes the theme editor to work with the new storage structure.

 Not yet tested with:
  * Page Templates
  * Multiple Themedirs (although the unit tests which gave me the size
 figure do use an alternate root)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11214#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list