WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simply Instagram] Word count appended to description

[Plugin: Simply Instagram] Word count appended to description

  • 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/>';

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simply Instagram] Word count appended to description’ is closed to new replies.