Rich Widget error on thickbox
-
Hi, I’ve posted a long description of the error here, but to be brief:
Rich Widget is doing this (file: rich-widget.php, around line 124):
echo '<link href="' . RB_RICHWIDGET_BASEURL . '/thickbox/thickbox.css" rel="stylesheet" type="text/css" />'; // load up scripts wp_enqueue_script('thickbox_custom', RB_RICHWIDGET_BASEURL . '/thickbox/thickbox.js');
Instead of just simply this:
wp_enqueue_script('thickbox');
As Thickbox is included in the WP core scripts, there’s no need to call it or include it on the Rich Widget directory. When the same script in two different directories is being called by two plugins, generates errors. I’ve discovered this because I was using using AdRotate and Rich Widget at the same time and both of them uses Thickbox. So, in this case, Rich Widget wasn’t popping-up the thickbox to edit a widget content.
I’ve changed the lines below and everything it’s working ok again.
Well, that’s all. I think it’s a small update that could be done to this wonderful plugin.
Greetings!
- The topic ‘Rich Widget error on thickbox’ is closed to new replies.