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

WordPress Trac noreply at wordpress.org
Tue Nov 22 06:14:02 UTC 2016


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

Comment (by helen):

 Running `serialize()` on every `update_option()` call is something for
 4.8-early, probably.

 In [attachment:38866.3.diff] I flipped and split some of the logic to make
 it easier to understand and maintain in the future. Do test to make sure I
 got it right, though :)

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


More information about the wp-trac mailing list