wp-heartbeat-notify
wp-heartbeat-notify copied to clipboard
Fails when transients are stored in memcache
send_data_to_heartbeat
assumes transients are stored in the database, but when memcache is available, it's used instead, so this fails:
$sql = $wpdb->prepare(
"SELECT * FROM $wpdb->options WHERE option_name LIKE %s",
'_transient_' . $this->args['domain'] . '_%'
);
$notifications = $wpdb->get_results( $sql );
Hi @goodevilgenius thank you for pointing it out but as i wrote in the docs this is no more than an experiment to start playing with wp heartbeat. Sooner or later i'll made an actual plugin out of it but at the moment i really have no time to spend on this project :unamused: