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

WordPress Trac noreply at wordpress.org
Sat Oct 3 23:13:08 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:  4.4
Component:  Customize                |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration,
  reporter-feedback                  |  performance
-------------------------------------+-------------------------------------

Comment (by westonruter):

 @wpweaver See my
 [https://core.trac.wordpress.org/timeline?from=2015-10-03T15%3A07%3A54-08%3A00&precision=second
 comment] on #34140. When you use a custom type, it will no longer
 `add_filter()` on anything. You will handle it instead, so you can define
 how it accesses the value in an efficient way. I've been doing this in the
 [https://github.com/xwp/wp-customize-widgets-plus Customize Widgets Plus]
 plugin for widget settings specifically.

 Also, please tone down the sarcasm and exasperation in your comments. It
 doesn't make us want to help you more. We're just volunteers here.

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


More information about the wp-trac mailing list