WP to Twitter
Possible bug in wp to twitter (1 post)

  1. Joost
    Posted 5 years ago #

    I found a possible problem in the function jd_twit_future(), although I am not sure if it forms a problem.

    function jd_twit_future( $post_ID ) {
        $post_ID = $post_ID->ID;
        if ( $jd_tweet_this != "no" ) {
    		$jd_post_info = jd_post_info( $post_ID );
    		$sentence = '';

    As you can see, the if statement checks for a variable that is not there. The if therefore always is true. It would be best to add the line

    $jd_tweet_this = get_post_meta( $post_ID, '_jd_tweet_this', TRUE);

    before the if.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP to Twitter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by Joost
  • This topic is not a support question
  • WordPress version: 3.0.1