Plugin Directory

Changeset 727146


Ignore:
Timestamp:
06/16/2013 03:45:25 PM (13 years ago)
Author:
radiok
Message:

Changed verificaton_url creation code to use add_query_arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • register-plus-redux/trunk/register-plus-redux.php

    r713247 r727146  
    494494            if ( !empty( $verification_code ) ) {
    495495                $message = str_replace( '%verification_code%', $verification_code, $message );
    496                 $message = str_replace( '%verification_url%', wp_login_url() . '?action=verifyemail&verification_code=' . $verification_code, $message );
     496                //$message = str_replace( '%verification_url%', wp_login_url() . '?action=verifyemail&verification_code=' . $verification_code, $message );
     497                $message = str_replace( '%verification_url%', /*.string.*/ add_query_arg( array ( 'action' => 'verifyemail', 'verification_code' => $verification_code ), wp_login_url() ), $message );
     498               
    497499            }
    498500
Note: See TracChangeset for help on using the changeset viewer.