Ticket #27979: 27979.3.patch
File 27979.3.patch, 1011 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/class-wp-customize-setting.php
130 130 * The dynamic portion of the hook name, $this->id, refers to the setting ID. 131 131 * 132 132 * @since 3.4.0 133 * 134 * @param WP_Customize_Setting $this WP_Customize_Setting instance. 133 135 */ 134 do_action( 'customize_preview_' . $this->id );136 do_action( 'customize_preview_' . $this->id, $this ); 135 137 } 136 138 } 137 139 … … 246 248 * 247 249 * @since 3.4.0 248 250 * 249 * @param mixed $value Value of the setting. 251 * @param mixed $value Value of the setting. 252 * @param WP_Customize_Setting $this WP_Customize_Setting instance. 250 253 */ 251 return do_action( 'customize_update_' . $this->type, $value );254 return do_action( 'customize_update_' . $this->type, $value, $this ); 252 255 } 253 256 } 254 257