Missing field with last update
-
Some of my acf fields were escaped by the last update, as explained here. Although I do realize acf is developed for not-so-newbie users, many of us are not devs. The instructions they’ve written seem detailed, but I do think they could do something a bit easier for the many users who, for example, have no other registered users at all (since that is where the vulnerability may come from).
For instance, I’m using a WYSIWYG field type – and that’s an affected one, by this update. You can disable this specific field (but they DO NOT RECOMMEND DOING IT) adding this code to your functions.php:
add_filter( ‘acf/shortcode/allow_unsafe_html’, function ( $allowed, $atts ) { if ( $atts[‘field’] === ‘your-field’ ) { return true; } return $allowed; },10,2);
(replace “your-field” with your affected field’s name)
The page I need help with: [log in to see the link]
- The topic ‘Missing field with last update’ is closed to new replies.