Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Updated to 3.2.8 and fields disappeared

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have a proposed solution actually after digging into the code:

    On line 1052 in “input-actions.js” there are two commas at the end of the line beginning with the variable new_field_html. If you remove the commas and replace it with a semicolon it works.

    Bad Code:
    new_field_html = div.find('> .clones > .layout[data-layout="' + layout + '"]').html().replace(/(="[\w-\[\]]*?)(\[999\])/g, '$1[' + new_id + ']'),,

    Good Code:
    new_field_html = div.find('> .clones > .layout[data-layout="' + layout + '"]').html().replace(/(="[\w-\[\]]*?)(\[999\])/g, '$1[' + new_id + ']');

    Plugin Author elliotcondon

    (@elliotcondon)

    Hi jrthib,

    Yes, this has been fixed in 3.2.9

    My mistake.

    Thanks
    Elliot

    Dear elliotcondon,

    Could you give the link for all old version??

    Someone want to use them as me.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Updated to 3.2.8 and fields disappeared’ is closed to new replies.