CP Bump Up Ads Plugin, a Better Statement?
The Bump Up Ads is no longer available in the Market Place, nor is there a Plugin Section for it anymore. So I am looking for anyone who might be able to help with this last statement in the plugin. The plugin used to work, but even with previous backups restored and tested, it does not want to complete last statement in the file. There are no errors in debug logs and IPN data is as it was last September. I compared it and it is the same.
So, I am looking for fresh eyes, who may see why this statement is no longer working? The statement changes the post date on the ad. That's it.
$sql = "UPDATE $wpdb->posts SET post_date = '".date("Y-m-d H:i:s")."' WHERE ID=".$post_id;
$results = $wpdb->query( $sql );