• Hi!

    Displaying tweets from Users works just fine, but I’ve come across a few bugs in the code making the “Search Terms” option unusable.

    1. Line 317:
      $length = count($json);
      should say:
      $length = count($json['statuses']);
    2. Line 322:
      $feeds[] = $json[$i];
      should say:
      $feeds[] = $json['statuses'][$i];
    3. Line 324:
      $content = array($json[statuses][$i]);
      should say:
      $content = array($json['statuses'][$i]);
      (missing quotation marks, not a fatal error but issues PHP notices)
    4. Line 343:
      fwrite($fp, $content);
      should say:
      $fwrite($fp, serialize($content));

    With these fixes, the Search Terms tweets are displayed as they should again.

    Sincerely,
    Anders, Sweden

    http://wordpress.org/extend/plugins/multi-twitter-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bugs when using the "Search Terms" options’ is closed to new replies.