Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5530

scmg on "Admin-ajax.php being Called from Admin Pages Causing DB Connection Issues"

$
0
0

1) OK - I took the code mentioned above ---

add_action( 'init', 'my_deregister_heartbeat', 1 );
function my_deregister_heartbeat() {
global $pagenow;

if ( 'post.php' != $pagenow && 'post-new.php' != $pagenow )
wp_deregister_script('heartbeat');
}

2) pasted it into my functions file

3) ran a speed test at pingdom http://tools.pingdom.com/fpt/#!/ejOa0r/http://www.halfpipelondon.com/product-category/bike/bicycles/womens-bicycles/

4) still getting this ajax problem

5) anyone got more ideas

Ian


Viewing all articles
Browse latest Browse all 5530

Trending Articles