Make WordPress Core

Changeset 28769


Ignore:
Timestamp:
06/17/2014 11:57:19 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Pass WP_Customize_Setting instance to 'customize_save_*' action.

props danielbachhuber.
fixes #27979.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r28767 r28769  
    173173         *
    174174         * @since 3.4.0
     175         *
     176         * @param WP_Customize_Setting $this WP_Customize_Setting instance.
    175177         */
    176         do_action( 'customize_save_' . $this->id_data[ 'base' ] );
     178        do_action( 'customize_save_' . $this->id_data[ 'base' ], $this );
    177179
    178180        $this->update( $value );
Note: See TracChangeset for help on using the changeset viewer.