WordPress.org

Ready to get started?Download WordPress

Forums

Simply Instagram
Word count appended to description (2 posts)

  1. mazimi
    Member
    Posted 2 years ago #

    The wordcount is incorrectly appended to each picture. Example:

    The quick brown fox jumps over the lazy dog.9

    shows up instead of:

    The quick brown fox jumps over the lazy dog.

    The problem originates in line 91 of 'simplyInstagramFunctions.php'. The segment including 'str_word_count' should be removed from output:

    $output .= '<div class="si-content" style=" display: none; margin: 10px; "><br/><br/><i>' . htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ) . str_word_count( htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ), 0 ) . '</i><br/><br/>';

  2. rollybueno
    Member
    Plugin Author

    Posted 2 years ago #

    update will release sometime next week that will solve this problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.