Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Daniel Iser

    (@danieliser)

    Ok figured this one out. Your suggested value includes a comma 10,316. But intval parses only the pre comma value. Entering a value of 10316 saves properly.

    Here is the changes that I would suggest.

    in file admin.php

    replace

    $optimizely_visitor_count = sanitize_text_field( $_POST['optimizely_visitor_count'] );

    with

    $optimizely_visitor_count = str_replace( ',', '', sanitize_text_field( $_POST['optimizely_visitor_count'] ) );

    Plugin Author bradtaylorsf

    (@bradtaylorsf)

    Made the change in version 3.5.2. I have updated my email settings so I get an email when there are support issues now. Thanks for all the help!

    Plugin Author bradtaylorsf

    (@bradtaylorsf)

    resolved in 3.5.2

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Powered Testing input limits 2 digits’ is closed to new replies.