just replace the constructor with this:
function __construct()
{
parent::__construct( 'qTranslateXWidget', __('qTranslate Language Chooser', 'qtranslate'), array(
'classname' => 'qtranxs_widget',
'description' => __('Allows your visitors to choose a Language.', 'qtranslate')
));
}
Hi, I have this exact same issue. Where would I change this?
Plugin Author
Gunu
(@grafcom)
@reddo
for now change this:
function qTranslateXWidget() {
$widget_ops = array('classname' => 'qtranxs_widget', 'description' => __('Allows your visitors to choose a Language.', 'qtranslate') );
$this->WP_Widget('qtranslate', __('qTranslate Language Chooser', 'qtranslate'), $widget_ops);
}
to this:
function qTranslateXWidget() {
$widget_ops = array('classname' => 'qtranxs_widget', 'description' => __('Allows your visitors to choose a Language.', 'qtranslate') );
parent::__construct('qtranslate', __('qTranslate Language Chooser', 'qtranslate'), $widget_ops);
}
in the file: qtranslate_widget.php