Make WordPress Core

Ticket #27979: 27979.patch

File 27979.patch, 724 bytes (added by dustyn, 11 years ago)
  • src/wp-includes/class-wp-customize-setting.php

    diff --git a/src/wp-includes/class-wp-customize-setting.php b/src/wp-includes/class-wp-customize-setting.php
    index 4bca442..b651813 100644
    a b class WP_Customize_Setting { 
    131131                                 *
    132132                                 * @since 3.4.0
    133133                                 */
    134                                 do_action( 'customize_preview_' . $this->id );
     134                                do_action( 'customize_preview_' . $this->id, $this );
    135135                }
    136136        }
    137137
    class WP_Customize_Setting { 
    248248                                 *
    249249                                 * @param mixed $value Value of the setting.
    250250                                 */
    251                                 return do_action( 'customize_update_' . $this->type, $value );
     251                                return do_action( 'customize_update_' . $this->type, $value, $this );
    252252                }
    253253        }
    254254