DropDown custom value Not Stored
Author | Posts |
---|---|
January 12, 2015 at 3:27 pm 33940 | |
Denis | Hello Sekander, I think you dont get my images The value is NOT stored! Or I am to stupid! Cheers, Denis |
January 12, 2015 at 5:25 pm 33954 | |
Sekander Badsha | Hello Denis, Yes, you are right. I had a discussion with the developer team and found that the custom field data is lost upon edit. So I have asked to fix it right away and I believe I can provide you a fix within tomorrow. My apologies for not getting it on the first place. |
January 12, 2015 at 5:52 pm 33958 | |
Sekander Badsha | Please open “wp-user-frontend/class/render-form.php” and go to line number 990 and you will see something like this: [php]$current_select = $multiselect ? selected( in_array( $option, $selected ), true, false ) : selected( $selected, $option, false );[/php] Now replace that with this line [php]$current_select = $multiselect ? selected( in_array( $value, $selected ), true, false ) : selected( $selected, $value, false );[/php] That should fix the issue. And do not forget to reply me the result 🙂 |
January 16, 2015 at 11:39 am 34279 | |
Denis | No problem! Thanks for Fixing the problem! Cheers from Cologne Von meinem iPhone 4S gesendet |