Ticket #29165: 29165.diff
File 29165.diff, 1.2 KB (added by , 5 years ago) |
---|
-
src/wp-includes/class-wp-customize-setting.php
134 134 * @param WP_Customize_Setting $this WP_Customize_Setting instance. 135 135 */ 136 136 do_action( 'customize_preview_' . $this->id, $this ); 137 138 /** 139 * Fires when the WP_Customize_Setting::preview() method is called for settings 140 * not handled as theme_mods or options. 141 * 142 * The dynamic portion of the hook name, $this->type, refers to the setting type. 143 * 144 * @since 4.1.0 145 * 146 * @param WP_Customize_Setting $this WP_Customize_Setting instance. 147 */ 148 do_action( 'customize_preview_' . $this->type, $this ); 137 149 } 138 150 } 139 151 … … 165 177 return false; 166 178 167 179 /** 168 * Fires when the WP_Customize_Setting::save() method is called for settings 169 * not handled as theme_mods or options. 180 * Fires when the WP_Customize_Setting::save() method is called. 170 181 * 171 182 * The dynamic portion of the hook name, $this->id_data['base'] refers to 172 183 * the base slug of the setting name.