WordPress Multiuser problem and fix
-
Hi,
I use WordPress 3.6.1, Shopp 1.2.9, and I have the Washington State Sales Tax for Shopp plugin installed on a WordPress Multiuser site.
When I installed it, the plugin option page kept giving me a 404 page (“file not found error”). After some debugging, I found that this solved the problem:
In the file washington-state-sales-tax-for-shopp/washington-state-sales-tax-for-shopp.php, in the function __construct, change the line that reads:
add_action( 'admin_menu', array( &$this, 'options_page_init' ));to this:
add_action( 'admin_menu', array( &$this, 'options_page_init' ) , 20);This makes the add_action a higher priority, so the option page will work. I found out how to do this using this posting:
http://buddypress.org/support/topic/add_submenu_page-__file__-problem/
cheers
adam
—
Adam F.
Seattle, WA, USAhttp://wordpress.org/plugins/washington-state-sales-tax-for-shopp/
The topic ‘WordPress Multiuser problem and fix’ is closed to new replies.