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?
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?
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 + ']');
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
You must log in to post.