/* translators: %1$s represents the field ID where the error occurs. %2%s is buttonset/image. */
37
_doing_it_wrong( __METHOD__, sprintf( esc_html__( 'Error in field %1$s. The "mode" argument has been deprecated since Kirki v0.8. Use the "radio-%2$s" type instead.', 'kirki' ), esc_html( $this->settings ), esc_html( $this->mode ) ), '3.0.10' );
38
$this->type = 'radio-' . $this->mode;
39
}
40
}
41
42
/**
43
* Sets the $sanitize_callback
44
*
45
* @access protected
46
*/
47
protected function set_sanitize_callback() {
48
49
// If a custom sanitize_callback has been defined,