-
Anonymous replied to the topic [Resolved] Admin Bar Login Redirects To Main Site & Not Current Blog in the forum How-to & Troubleshooting 13 years, 7 months ago
Wonderful, Tom. A minor tweak to your solution:
The original remove_action may not always work
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’, 2 );
since we can’t guarantee that buddypress plugin is parsed before this fix plugin. A slight modification I made works for me:I change
add_action( 'bp_adminbar_menus',…
[Read more] -
Anonymous replied to the topic [Resolved] Admin Bar Login Redirects To Main Site & Not Current Blog in the forum How-to & Troubleshooting 13 years, 7 months ago
Wonderful, Tom. A minor tweak to your solution:
The original remove_action may not always work
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’, 2 );
since we can’t guarantee that buddypress plugin is parsed before this fix plugin. A slight modification I made works for me:I change
add_action( 'bp_adminbar_menus',…
[Read more] -
tsankuanglee posted on the forum topic Admin Bar Login Redirects To Main Site & Not Current Blog in the group How-To and Troubleshooting: 13 years, 7 months ago
Wonderful, Tom. A minor tweak to your solution: The original remove_action may not always work remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’, 2 ); since we can’t guarantee that buddypress plugin is parsed before this fix plugin. A slight modification I made works for me: I change add_action( ‘bp_adminbar_menus’,…[Read more]
-
tsankuanglee joined the group How-To and Troubleshooting 13 years, 7 months ago
@tsankuanglee
Not recently active