Plugin Directory

Changeset 1353917


Ignore:
Timestamp:
02/19/2016 07:08:54 AM (10 years ago)
Author:
Cimmo
Message:

Fixed PHP Notice: Undefined index: welcome_email on WordPress MS

Location:
cimy-user-extra-fields/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cimy-user-extra-fields/trunk/README_OFFICIAL.txt

    r1353893 r1353917  
    634634v2.7.2 - /02/2016
    635635- Fixed registration rules were applied on profile update when certain plug-ins are installed, like bbpress (thanks to Vane R.)
     636- Fixed PHP Notice:  Undefined index: welcome_email on WordPress MS
    636637
    637638v2.7.1 - 08/02/2016
  • cimy-user-extra-fields/trunk/cimy_uef_options.php

    r1334744 r1353917  
    2525    $options['wp_hidden_fields'] = array();
    2626
    27     $options['welcome_email'] = stripslashes($_POST['welcome_email']);
     27    $options['welcome_email'] = isset($_POST['welcome_email']) ? stripslashes($_POST['welcome_email']) : '';
    2828    cimy_wpml_register_string("a_opt_welcome_email", $options['welcome_email']);
    2929    $options['extra_fields_title'] = stripslashes($_POST['extra_fields_title']);
Note: See TracChangeset for help on using the changeset viewer.