[wp-trac] [WordPress Trac] #38866: Custom CSS generates an update SQL query on every front end request

WordPress Trac noreply at wordpress.org
Sun Nov 20 04:30:46 UTC 2016


#38866: Custom CSS generates an update SQL query on every front end request
--------------------------+------------------
 Reporter:  bradyvercher  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by peterwilsoncc):

 Tested Brady's patch and it behaves as described.

 In [attachment:38866.2.diff] I've attempted to fix underlying problem in
 `update_option()` by comparing old an new values as serialised data. I'd
 like some feedback on the perf implications here.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38866#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list