WPIntell

Source evidence

Re-enable Quick Edit

AJAX Heartbeat Tool · support · 2014-07-04T15:10:00+00:00

mixedsentiment
mediumseverity
0.72relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 30 rows with source links

6.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
peter-a resolved
This 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!

Comments

3 shown
Mikel King 2014-08-18T16:05:00+00:00

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.

imkane 2014-10-06T02:31:00+00:00

I also had this happen, thanks for the code suggestion, Peter.

Mikel King 2014-11-26T18:10:00+00:00

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!