Kirki 3.1.0

This commit is contained in:
Alexander Agnarson 2020-03-23 20:15:46 +01:00
parent 63a63d7b31
commit 7743549010
21 changed files with 963 additions and 1969 deletions

View file

@ -355,7 +355,7 @@ class Kirki_Field {
// Take care of common typos.
if ( 'theme_mods' === $this->option_type ) {
/* translators: %1$s represents the field ID where the error occurs. */
_doing_it_wrong( __METHOD__, sprintf( esc_html( 'Typo found in field %s - "theme_mods" vs "theme_mod"', 'kirki' ), esc_html( $this->settings ) ), '3.0.10' );
_doing_it_wrong( __METHOD__, sprintf( esc_html__( 'Typo found in field %s - "theme_mods" vs "theme_mod"', 'kirki' ), esc_html( $this->settings ) ), '3.0.10' );
$this->option_type = 'theme_mod';
}
}

View file

@ -60,11 +60,9 @@ class Kirki_Modules {
array(
'css' => 'Kirki_Modules_CSS',
'css-vars' => 'Kirki_Modules_CSS_Vars',
'customizer-styling' => 'Kirki_Modules_Customizer_Styling',
'icons' => 'Kirki_Modules_Icons',
'loading' => 'Kirki_Modules_Loading',
'tooltips' => 'Kirki_Modules_Tooltips',
'branding' => 'Kirki_Modules_Customizer_Branding',
'postMessage' => 'Kirki_Modules_PostMessage',
'selective-refresh' => 'Kirki_Modules_Selective_Refresh',
'field-dependencies' => 'Kirki_Modules_Field_Dependencies',
@ -73,7 +71,6 @@ class Kirki_Modules {
'webfont-loader' => 'Kirki_Modules_Webfont_Loader',
'preset' => 'Kirki_Modules_Preset',
'gutenberg' => 'Kirki_Modules_Gutenberg',
'telemetry' => 'Kirki_Modules_Telemetry',
)
);
}