Plugin Directory

Changeset 1003352


Ignore:
Timestamp:
10/07/2014 03:02:58 PM (11 years ago)
Author:
radiok
Message:

Final changes to 3.9 branch

Location:
register-plus-redux/branches/3.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • register-plus-redux/branches/3.9/readme.txt

    r987431 r1003352  
    119119== Changelog ==
    120120
     121= 3.9.12 =
     122Unreleased by radiok
     123
     124* Fixed jQuery that was altering attributes when it should be altering properties- radiok
     125* Fixed uninitialized $errors object- radiok
     126
    121127= 3.9.11 =
    122128September 11, 2014 by radiok
  • register-plus-redux/branches/3.9/register-plus-redux.php

    r873215 r1003352  
    66Plugin URI: http://radiok.info/blog/category/register-plus-redux/
    77Description: Enhances the user registration process with complete customization and additional administration options.
    8 Version: 3.9.11
     8Version: 3.9.12
    99Text Domain: register-plus-redux
    1010Domain Path: /languages
     
    2727// TODO: Enhancement- Widget is lame/near worthless
    2828
    29 define( 'RPR_VERSION', '3.9.11' );
     29define( 'RPR_VERSION', '3.9.12' );
    3030define( 'RPR_ACTIVATION_REQUIRED', '3.9.6' );
    3131
  • register-plus-redux/branches/3.9/rpr-login.php

    r987420 r1003352  
    524524            global $errors;
    525525            if ( isset( $_GET['verification_code'] ) && '1' === $register_plus_redux->rpr_get_option( 'verify_user_email' ) ) {
     526                if ( !is_wp_error( $errors ) ) $errors = new WP_Error();
    526527                $user_id = $this->check_verification_code( (string) $_GET['verification_code'] );
    527528                if ( !is_wp_error( $user_id ) ) {
     
    584585                $errors->error_data = $temp;
    585586            }
     587            if ( !is_wp_error( $errors ) ) $errors = new WP_Error();
    586588            $errors->add( 'verify_user_email', nl2br( $register_plus_redux->rpr_get_option( 'message_verify_user_email' ) ), 'message' );
    587589            login_header( __('Verify Email', 'register-plus-redux' ), '', $errors);
     
    603605                $errors->error_data = $temp;
    604606            }
     607            if ( !is_wp_error( $errors ) ) $errors = new WP_Error();
    605608            $errors->add( 'verify_user_admin', nl2br( $register_plus_redux->rpr_get_option( 'message_verify_user_admin' ) ), 'message' );
    606609            login_header( __('Admin Verification', 'register-plus-redux' ), '', $errors);
     
    865868                    <script type="text/javascript">
    866869                    jQuery(document).ready(function() {
    867                         jQuery("#user_login").removeAttr("size");
    868                         jQuery("#user_login").parent().attr("id", "user_login-label");
    869                         jQuery("#user_login").parent().parent().attr("id", "user_login-p");
    870                         jQuery("#user_email").removeAttr("size");
    871                         jQuery("#user_email").parent().attr("id", "user_email-label");
    872                         jQuery("#user_email").parent().parent().attr("id", "user_email-p");
     870                        jQuery("#user_login").removeProp("size");
     871                        jQuery("#user_login").parent().prop("id", "user_login-label");
     872                        jQuery("#user_login").parent().parent().prop("id", "user_login-p");
     873                        jQuery("#user_email").removeProp("size");
     874                        jQuery("#user_email").parent().prop("id", "user_email-label");
     875                        jQuery("#user_email").parent().parent().prop("id", "user_email-p");
    873876                    });
    874877                    </script>
Note: See TracChangeset for help on using the changeset viewer.