Simply Instagram
Word count appended to description (2 posts)

  1. mazimi
    Posted 4 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
    Plugin Author

    Posted 4 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

  • Simply Instagram
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.