Thread Starter
olidac
(@olidac)
I will use webshim.setOptions(‘basePath’, ‘/path/to/caldera/assets/js/shims/’);
Thread Starter
olidac
(@olidac)
Hello,
There is a missing ‘>’ in function siteorigin_widgets_get_attachment_image of file base/inc/attachments.php :
$return = '<img ';
foreach( $atts as $id => $val ) {
$return .= $id . '="' . esc_attr($val) . '" ';
}
return $return;
Thread Starter
olidac
(@olidac)
function pll_default_language( $field = 'slug' ) {
return ( $lang = PLL()->model->get_language( PLL()->options['default_lang'] ) ) && isset( $lang->$field ) ? $lang->$field : false;
}
It is necessary to check existence of the value :
isset(PLL()->options['default_lang'])
I need the plugin to work without a default lang.
Thread Starter
olidac
(@olidac)
hello,
Can you update the plugin ?
Thanks in advance