[Plugin: WP to Twitter] Possible bug in wp to twitter
-
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.
- The topic ‘[Plugin: WP to Twitter] Possible bug in wp to twitter’ is closed to new replies.