PHP 7 compatibility
-
$user_message_subject = apply_filters( 'wppb_register_user_email_subject_without_admin_approval', $user_message_subject, $email, $password, $user_message_subject, 'wppb_user_emailc_default_registration_email_subject' );the variable $user_message_subject is used twice, not sure why but this breaks PHP7 when used in a function
function cpe_register_password_title($user_message_subject, $email, $password, $user_message_subject){
ERROR | Functions can not have multiple parameters with the same name since PHP 7.0
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP 7 compatibility’ is closed to new replies.