[wp-trac] [WordPress Trac] #36452: customize_value should be passed $this

WordPress Trac noreply at wordpress.org
Fri Apr 8 19:45:29 UTC 2016


#36452: customize_value should be passed $this
-----------------------------+------------------------
 Reporter:  nwp_developer    |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Customize        |     Version:  4.4.2
 Severity:  normal           |  Resolution:  duplicate
 Keywords:                   |     Focuses:
-----------------------------+------------------------
Changes (by westonruter):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 You are absolutely right. See #29316 and review patch. I the mean time, I
 recommend using a `WP_Customize_Setting` subclass in lieu of using hooks
 to handle your custom setting type.

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


More information about the wp-trac mailing list