MarkLL
Forum Replies Created
-
It’s a pity that the default behavior for this functionality is not OFF.
We have a dedicated server with > 200 members and one member left his browser sitting on the profile page for 3 days. The end result was after the weekly log rotation process Apache could not write to the new log files. Took me a couple of days to figure out what was going on.
Only resolved the issue by restarting Apache.
I’ve since implemented the following in the themes function.php (similar to above, but works)
function my_deregister_heartbeat() { global $pagenow; if ( 'post.php' != $pagenow && 'post-new.php' != $pagenow ) { wp_deregister_script('heartbeat'); wp_register_script('heartbeat', false); } } add_action( 'admin_enqueue_scripts', 'my_deregister_heartbeat' );
Sorry guys, but in it’s current form this feature is a serious brain-fart!
Colinskys,
The fix was only relevant IF you already was using the “Ajax Google Libraries Cdn”.
I don’t use “W3 Total Cache”, but I think it actually does the same thing so adding “Ajax Google Libraries Cdn” may not be the right thing.
Looking at the source code for your site, I can see that the jQuery UI (v1.8.13) is being loaded Before jQuery (v1.7.2). This is not correct.
Can I suggest you disable the “Ajax Google Libraries Cdn” plugin as well as the “W3 Total Cache” plugin and see if that fixes it.
There are a lot of jQuery libraries being loaded by your revelation-theme and it may be unregistering WP’s jQuery and registering it’s own version. It could be that the jQueryUI is being registered without a dependancy set to jQuery. Without looking at the source it’s a bit hard to tell.
good luck.
Forum: Fixing WordPress
In reply to: Updated to wordpress 3.4- Jquery issues and Slider ProblemmsHi Dan,
Please note this fix only applies to the “Ajax Google Libraries Cdn” plugin.
If you look in the wp-content/plugins folder you should see a “ajax-google-libraries-cdn” folder. In this folder is a file called “use-google-libraries.php”.
This is the file I am talking about.
On line 238 there is the following:
if ( $name == 'scriptaculous-root' && $ver == '1.8.0' ) { $ver = '1.8'; }
so right under that you should paste the following code.
if ( 'jquery-ui-' == substr($name, 0, 10) && '1.8.20' == $ver ) { $ver = '1.8.18'; }
Hope that helps ??
Hi colinskys,
Please note my initial post applies to the “Ajax Google Libraries Cdn” plugin.
If you look in the wp-content/plugins folder you should see a “ajax-google-libraries-cdn” folder. In this folder is a file called “use-google-libraries.php”.
This is the file I am talking about.
On line 238 there is the following:
if ( $name == 'scriptaculous-root' && $ver == '1.8.0' ) { $ver = '1.8'; }
so right under that you should paste the code I added in the initial post above.
While I’m not actually using this plugin, I added similar functionality to a theme I was developing that had the same issue.
Symptons were: jQuery Slider and Tabs stopped working.
Hope that helps ??
I’m glad you found it LOL…
There is only one file.
Forum: Fixing WordPress
In reply to: Updated to wordpress 3.4- Jquery issues and Slider ProblemmsHey Dan,
I looked at your site not long after you posted when your post popped up in google !
I noticed that you were using the Ajax Google CDN (or other such) plugin to pull the jquery libs off google.
I recently discovered that WP 3.4 is using version 1.8.20 of the jQuery UI libs while google CDN only has up to 1.8.18.
When I struck this issue, my slider did not respond and tabs did not work.
If this seems relevant try the solution I posted over here. https://www.ads-software.com/support/topic/plugin-ajax-google-libraries-cdn-wp-uses-jqui-library-not-loaded-on-cdn
good luck
Done! … But was there ever any doubt? ??
Hey Joost,
Thanks very much ??
I’m right there buddy… Downloaded and tested already and it works great too.
Great plugin, keep up the good work.
Cheers,
Mark