my Quick Chat dashboard Widget doesn’t load at all and cause the bug !
i have a french version of wp 3.4.2
custom :
// TinyMCE Tweak.
function wpc_boutons_tinymce($buttons) {
$buttons[] = 'sub';
$buttons[] = 'sup';
$buttons[] = 'fontselect';
$buttons[] = 'fontsizeselect';
return $buttons;
}
add_filter("mce_buttons_2", "wpc_boutons_tinymce");
// Suppr admin bar.
dd_filter('show_admin_bar', '__return_false');
// Windows Live Writer : turn off.
remove_action('wp_head', 'wlwmanifest_link');
// Hide WordPress vesion.
remove_action('wp_head', 'wp_generator');
// Reddirect user after login.
add_filter("login_redirect", "subscriber_login_redirect", 10, 3);
function subscriber_login_redirect($redirect_to, $request, $user) {
if(is_array($user->roles))
if(in_array('administrator', $user->roles)) return site_url('/wp-admin/');
return home_url();
}
I use this plugin (But y have turn off all and the bug was still there :p :
Author Avatars List
BackupBuddy
Captcha
Custom Meta Widget
Custom Smilies
Duplicate Post
Force User Login
kk Star Ratings
MyMail – Email Newsletter Plugin for WordPress
Optimize Database after Deleting Revisions
Private Messages For WordPress
Quick Chat
SB Welcome Email Editor
Simple History
Simple Local Avatars
WP-UserOnline
WP Smush.it
To reproduce the tweak for supp the bug :
1 – open quick-chat.php
2 – Suppr the lines :
add_action('wp_dashboard_setup', array($this, 'add_dashboard_widgets'));
and :
public function dashboard_widget(){
echo $this->quick_chat(400, 'admin_room_'.substr(md5(AUTH_SALT),0,5), 1, 'left', 0, 0, 1, 1, 1);
}
public function add_dashboard_widgets() {
if($this->user_status == 0)
wp_add_dashboard_widget('quick_chat_dashboard_widget', __('Quick Chat Admin\'s Lounge','quick-chat'), array($this, 'dashboard_widget'));
}
3 – Disable quick chat plugin and réactivate it !
Voila that supp the dashboard quick chat and solve the bug ??