Conversation
supportThis plugin is great, but it has the side effect of disabling the Quick Edit function. To re-enable Quick Edit, I edited line 98 of plugin.php to read: if ( 'post.php' != $pagenow && 'post-new.php' != $pagenow && 'edit.php' != $pagenow ) { It would be great if you could add a setting in the future to enable or disable Heartbeat on edit.php in order to let the user decide about Quick Edit. https://wordpress.org/plugins/ajax-heartbeat-tool/
Hey @peter-a , Thanks for that. I am looking at adding a basic settings page in the next revision. I will try to include this suggestion.
I also had this happen, thanks for the code suggestion, Peter.
Peter, I have incorporated your suggestion… public function unregister_wp_heartbeat() { global $pagenow; if ( $pagenow != 'post.php' && $pagenow != 'post-new.php' && $pagenow != 'edit.php' ) { wp_deregister_script('heartbeat'); } } Thanks, m!
Hey @peter-a , Thanks for that. I am looking at adding a basic settings page in the next revision. I will try to include this suggestion.
I also had this happen, thanks for the code suggestion, Peter.
Peter, I have incorporated your suggestion… public function unregister_wp_heartbeat() { global $pagenow; if ( $pagenow != 'post.php' && $pagenow != 'post-new.php' && $pagenow != 'edit.php' ) { wp_deregister_script('heartbeat'); } } Thanks, m!