Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #894057

    theyoungrens
    Participant
    This reply has been marked as private.
    #894900

    Rue Nel
    Moderator

    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.

    #895557

    theyoungrens
    Participant
    This reply has been marked as private.
    #896428

    Christopher
    Moderator

    Hi 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.

    #1134055

    andrewteg
    Participant

    I 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,
    Andrew

    #1134673

    Rupok
    Member

    Hi Andrew,

    Thanks for sharing. I’ll forward this to our developers for further assessment.

    Cheers!

    #1135572

    3pepe3
    Participant

    A 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 🙂

    #1136154

    Rue Nel
    Moderator

    Hello 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.