Home › Forums › Feature Requests › Feature Request: Hidden / Disabled Field Type › Reply To: Feature Request: Hidden / Disabled Field Type
Follow up. I’ve fixed the problem by changing line #302 in controllers/post.php from:
$(‘#<?php echo $id; ?>’).addClass(‘<?php echo $class; ?>’).removeClass(‘hide-if-js’);
to:
$(‘#<?php echo $id; ?>’).addClass(‘<?php echo $class; ?>’);
Not sure why hide-if-js was being removed. But this restored WP’s original screen options functionality without issues. ACF now honors screen options default settings and admin user-initiated settings. Thanks!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.