[Plugin: WPBook Lite] Minor typo in wpbook-cron
-
Hi,
Using version 1.4.2
Line 226 missing quotes, is
$my_timestamp = $my_timestamp_results[meta_value];
should be
$my_timestamp = $my_timestamp_results[‘meta_value’];BTW, I love the plugin. I have done a little hacking to make a couple of enhancements that could be integrated into the main version if you are interested. Right now they are in a plugin so as not to distrub the code base. The changes I made let the plugin handle custom post types (commented out the one line). More interesting the publish hooks don’t directly send to facebook. Instead a cron wakes and look for posts to publish. If it finds one it sends it, and then sleeps. The cycle handles custom post types so it will send one of our designs, then one of our portfolio entries, then one of our posts. THere is a throttle build in so fb doesn’t get bombarded and people don’t get too annoyed. Let me know if you want the code. It is small and all it needs is a configuration UI.
thanks again.
- The topic ‘[Plugin: WPBook Lite] Minor typo in wpbook-cron’ is closed to new replies.