- This topic has 1 reply, 1 voice, and was last updated 13 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Latest WordPress breaks the 'Add custom field' button
Tagged: patch bug fix WP eStore
It causes a JS error when you click ‘Add custom field’ under Admin > Settings > Custom Field Settings.
To fix you need to amend the jquery.dynamicField-1.0.js file on line 85 from:
var base_name = $(this).attr(“id”)
.replace(/^(.+[_-])([0-9]+)$/,”$1″);
$(this).attr(“for”, base_name+ pos);
to:
var base_name = $(this).attr(“id”);
if (base_name) {
base_name = base_name.replace(/^(.+[_-])([0-9]+)$/,”$1″);
$(this).attr(“for”, base_name+ pos);
}
Since seeing this I have updated to v6.9.4 as instructed by another posting and this issue has been fixed…