-
AuthorPosts
-
April 21, 2016 at 12:29 pm #894057This reply has been marked as private.April 22, 2016 at 2:35 am #894900
Hello There,
Thanks for providing the login details. I have check your blog index and category pages. I could not see any apostrophe or slashed in the titles. Could point us where you are experiencing the issue? Perhaps you can send us a screenshot so that we could have an idea of what is going on in your site.
Thank you.
April 22, 2016 at 11:01 am #895557This reply has been marked as private.April 23, 2016 at 3:29 am #896428Hi there,
Please add following code in Customize -> Custom -> JavaScript :
jQuery(".archive.category-san-diego-engagement-photography .h-landmark span").html("Engagement's");
Hope it helps.
August 16, 2016 at 2:10 pm #1134055I was able to change line 108 in
\themes\x\framework\functions\global\admin\meta\taxonomies.php
to this:$term_meta[$key] = wp_kses_post(stripslashes($_POST['term_meta'][$key]));
This let me save HTML and sanitizes the input before it is saved in the database just like a regular post with HTML.
As https://codex.wordpress.org/Function_Reference/wp_kses_post puts it, this lets me Sanitize content for allowed HTML tags for post content and returns Filtered post content with allowed HTML tags and attributes intact.
Can you ask the development team if there a reason this is not in the theme core?
Thanks,
AndrewAugust 16, 2016 at 11:28 pm #1134673Hi Andrew,
Thanks for sharing. I’ll forward this to our developers for further assessment.
Cheers!
August 17, 2016 at 1:52 pm #1135572A year ago (April 7, 2015 at 9:16 am) I added a fix but it seems that this bug is not very important for themeco developers
https://community.theme.co/forums/topic/problem-on-term_meta-with-simple-quotes-archive-title-and-archive-subtitle/
(by the way why my post is not visible without login????)@andrewteg
by the way nice fix 🙂August 17, 2016 at 9:37 pm #1136154Hello There,
Thanks for updating the thread! I will personally contact the developers on this matter so that they can review and go back on this bug.
And by the way, if you need login before you can view your post, that maybe because the post it self is set as a private post.
Best Regards.
-
AuthorPosts