Mine still works, but I’ve noticed that when I’m loading images from the media gallery in the post edit screen, the console pops a 404 on /?bbp_5o1_toolbar_css
.
Further investigations leads us to line 482 of plugins/bbpress-post-toolbar.php:
function script_and_style() {
wp_register_script( 'bbp_5o1_post_toolbar_script', plugins_url('includes/toolbar.js', __FILE__) );
//wp_register_style( 'bbp_5o1_post_toolbar_style', plugins_url('includes/toolbar.css', __FILE__) );
wp_register_style( 'bbp_5o1_post_toolbar_style', site_url('/?bbp_5o1_toolbar_css') );
wp_enqueue_script( 'bbp_5o1_post_toolbar_script' );
wp_enqueue_style( 'bbp_5o1_post_toolbar_style' );
}
Interesting that the first bbp_5o1_post_toolbar_style
has been commented and is instead loaded as a $_GET variable. Wtf?
Anyway, replaced with the following to prevent timeout on admin screens:
function script_and_style() {
if( !is_admin() ){
wp_register_script( 'bbp_5o1_post_toolbar_script', plugins_url('includes/toolbar.js', __FILE__) );
//wp_register_style( 'bbp_5o1_post_toolbar_style', plugins_url('includes/toolbar.css', __FILE__) );
wp_register_style( 'bbp_5o1_post_toolbar_style', site_url('/?bbp_5o1_toolbar_css') );
wp_enqueue_script( 'bbp_5o1_post_toolbar_script' );
wp_enqueue_style( 'bbp_5o1_post_toolbar_style' );
}
}
But of course this only fixes the Media Library issue… I suspect you guys will still see that on the forum side.
– Have you tried resetting the custom ordering from the settings page? /wp-admin/plugins.php?page=bbpress-post-toolbar
– What happens when you try commenting out the wp_register_style( 'bbp_5o1_post_toolbar_style', site_url('/?bbp_5o1_toolbar_css') );
line and uncomment the wp_register_style( 'bbp_5o1_post_toolbar_style', plugins_url('includes/toolbar.css', __FILE__) );
?