WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] Updated to 3.2.8 and fields disappeared (4 posts)

  1. jrthib
    Member
    Posted 2 years ago #

    I just updated 2 of my sites to version 3.2.8 of advanced custom fields and all of the fields don't show on any post type. In the previous version the boxes still do show up. Any ideas?

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. jrthib
    Member
    Posted 2 years ago #

    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 + ']');

  3. elliotcondon
    Member
    Plugin Author

    Posted 2 years ago #

    Hi jrthib,

    Yes, this has been fixed in 3.2.9

    My mistake.

    Thanks
    Elliot

  4. nnanh01
    Member
    Posted 2 years ago #

    Dear elliotcondon,

    Could you give the link for all old version??

    Someone want to use them as me.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.