Update:
line 456 in ba.goal_model.class.php
$vals = get_post_meta($goal_id, ‘_goal_after_values’, true);
rerurns nothing in case any symbol in meta field is not latin
How to fix that?
-
This reply was modified 9 years, 7 months ago by
gorbacheff.
Sorry I was wrong. Just add UTF-8 encoding to your htmlentities function, lines 262 and 309 in ba.goal_model.class.php , this solves the issue.
Also, in line 287 of ba.shortcodes.class.php you use
apply_filters(‘the_content’, $freeText) , that leads to errors with some plugins that add modules straight after content div (in case of you plugin, such calls are doubled, messing up the website page). I’d advise you “keep the text as is” without wrapping it in content filter, or, better, study a solution like this: http://themehybrid.com/weblog/how-to-apply-content-filters
hope this helps
🙂
-
This reply was modified 9 years, 7 months ago by
gorbacheff.
Hey gorbacheff!
Somehow I missed this entire thread, but thanks so much for the specific input! We’ve found it quite helpful.
All the best,
Richard