Home › Forums › Bug Reports › Location rules bugs after migration to version 4.1.6, WP v. 3.5.2 › Reply To: Location rules bugs after migration to version 4.1.6, WP v. 3.5.2
Thanks for the response Elliot, unfortunately in our situation that did not solve the issue.
Did some further testing (switching plugins themes) and eventually narrowed it down to an action hook for admin_enqueue_scripts. We load css on the backend for some of the content editor forms, and with the issue happening with ACFs enqueue’s we were able to finally find the issue.
At the moment we’ve just commented out our own enqueue hook as we’re on the development server. Will provide the code of how we’re doing this, but we’ve never had an issue with this before (either with ACF nor other plugins).
function load_theme_admin_scripts($hook) {
// Admin CSS
wp_enqueue_style('theme_admin_css', get_template_directory_uri() . '/library/css/admin_css.css', false, '1.0', 'all');
}
add_action( 'admin_enqueue_scripts', 'load_theme_admin_scripts' );
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.