WordPress.org

Ready to get started?Download WordPress

Forums

WP-Footnotes
[resolved] Entities are visible in WP-footnotes 4.2 (4 posts)

  1. tizz
    Member
    Posted 3 years ago #

    I don't want to make an "up", only give a proper title to the post.
    In the note's pop-up window over the text entities are visible.
    Version 3.3 and 4.1 works well to me, but with 4.0 and 4.2 I had that problem.
    When changing versions, it's better to overwrite or erase before install?
    If it's not an incompatibility with 3.0.1 (to me, was the same with 2.9), what could it be?
    Thanks

  2. tizz
    Member
    Posted 3 years ago #

    If you want something done, do it yourself.
    I've found the solution by myself, and I post it here, maybe it's useful for someone.
    In the plugin editor, go to footnotes.php., and make the file writable only for this moment.
    Find the line:

    $id_title = str_replace('"', """, htmlentities(strip_tags($value['text']), ENT_QUOTES, 'UTF-8'));

    And write "false" at the end:

    $id_title = str_replace('"', """, htmlentities(strip_tags($value['text']), ENT_QUOTES, 'UTF-8', false));

    So, the error is fixed.

  3. drzax
    Member
    Plugin Author

    Posted 3 years ago #

    Yep, that'll do it.

    Unfortunately, this only works for users running PHP 5. (That's why its not like that by default).

  4. tizz
    Member
    Posted 3 years ago #

    Ah OK, that makes sense.
    The important thing is to know it, thanks :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic