Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Naji Amer

    (@n-for-all)

    The index should never be empty, ex:

    [repeater add-label:Add_new remove-label:Remove index:0 min:1 max:10 show:1]

    if you omit the index, you will get the error

    Check and let me know.

    Thread Starter JanZ

    (@janzaba)

    I double checked that index attr is there in shortcode. Note that my fix still gets index attribute from shortcode.

    Write now i updated your plugin and bug still exists. I think the secound argument of get_option function is a problem. When it is set for int something is going wrong.

    I look inside get_option function, but it looks all right. My shortcode is:
    [repeater add-label:Add remove-label:Remove index:0 min:1 show:2]

    Thread Starter JanZ

    (@janzaba)

    Another think is, that add-label and remove-label also doesn’t work. I added var_dump just after line 325:

    $add_label = $tag->get_option('add-label', '', true);
    var_dump($add_label);

    and it returns bool(false) for my shortcode. For this i have no idea why it happens.

    Plugin Author Naji Amer

    (@n-for-all)

    Remove all other fields and keep only the repeater shortcode, just for testing, the cf7 plugin uses RegExp to parse the shortcode so any error in any other field shortcode will affect all fields.

    i just tested you shortcode with latest WP and CF7 and confirmed that it works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fix to version WP 4.6 & CF7 4.5’ is closed to new replies.