[wp-trac] [WordPress Trac] #32103: Customizer sanitizes data multiple times when options are served as Serialized Settings

WordPress Trac noreply at wordpress.org
Mon Apr 27 07:35:49 UTC 2015


#32103: Customizer sanitizes data multiple times when options are served as
Serialized Settings
--------------------------+------------------------------------------
 Reporter:  Air.          |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration, performance
--------------------------+------------------------------------------

Comment (by Air.):

 50k! Wow, I didn't expect this to go above 1k in extreme scenarios. I
 didn't investigate code any further, but do we even need these filters
 with '''id_data[ 'base' ]''' instead of '''id''' ? Id alone should do the
 trick in case of single option and array of options. Maybe I am missing
 something.

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


More information about the wp-trac mailing list