by axew3 » Sat Dec 16, 2023 8:29 pm
* Fix: ajax error coming up in various circumstances (ex memberpress checkout). A completely not required instruction has been removed:
file
/wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php
Code: Select all
function wp_w3all_up_wp_prof_on_phpbb($user_id, $old_user_data) {
$phpBB_user_up_prof_on_wp_prof_up = WP_w3all_phpbb::phpbb_update_profile($user_id, $old_user_data);
if($phpBB_user_up_prof_on_wp_prof_up === true){
temp_wp_w3_error_on_update();
exit;
}
}
REMOVE
Code: Select all
if($phpBB_user_up_prof_on_wp_prof_up === true){
temp_wp_w3_error_on_update();
exit;
so:
Code: Select all
function wp_w3all_up_wp_prof_on_phpbb($user_id, $old_user_data) {
$phpBB_user_up_prof_on_wp_prof_up = WP_w3all_phpbb::phpbb_update_profile($user_id, $old_user_data);
/*if($phpBB_user_up_prof_on_wp_prof_up === true){
temp_wp_w3_error_on_update();
exit;
}*/
}
* Fix: ajax error coming up in various circumstances (ex memberpress checkout). A completely not required instruction has been removed:
file
[i]/wp-content/plugins/wp-w3all-phpbb-integration/[b]wp_w3all.php[/b][/i]
[code] function wp_w3all_up_wp_prof_on_phpbb($user_id, $old_user_data) {
$phpBB_user_up_prof_on_wp_prof_up = WP_w3all_phpbb::phpbb_update_profile($user_id, $old_user_data);
if($phpBB_user_up_prof_on_wp_prof_up === true){
temp_wp_w3_error_on_update();
exit;
}
}[/code]
REMOVE
[code] if($phpBB_user_up_prof_on_wp_prof_up === true){
temp_wp_w3_error_on_update();
exit;[/code]
so:
[code] function wp_w3all_up_wp_prof_on_phpbb($user_id, $old_user_data) {
$phpBB_user_up_prof_on_wp_prof_up = WP_w3all_phpbb::phpbb_update_profile($user_id, $old_user_data);
/*if($phpBB_user_up_prof_on_wp_prof_up === true){
temp_wp_w3_error_on_update();
exit;
}*/
}[/code]