Any insights into Transient API locking, cron and threading?

How does one go about locking down transient API requests for multiple threading? Has anything done some benchmarking, just how much can the transient API handle for multiple concurrent requests? Under normal circumstances Transients API is essentially thin wrapper on top of Options API. The difference is that (unlike plain options) transients might make use … Read more

Toggle nested comments

http://jsfiddle.net/K3gr7/4/ I used an ordered list to markup the comments. You probably need to tweak it to your own setup, and cache some variables for optimization, but the functionality is in there. $(document).ready(function() { // Toggle all $(‘#toggle-all’).click(function() { var $subcomments = $(‘#comments’).find(‘> li > ol’); if ($subcomments.filter(‘:hidden’).length) { $subcomments.slideDown(); } else { $subcomments.slideUp(); } … Read more

Threaded comments – deleting parent comment leads to orphan comments

Had this problem on a site where commenter’s would post comments to the wrong posts and comment threads, had to move thousands of comments from one post to more appropriate posts on the site. I used this plugin http://wordpress.org/extend/plugins/move-wordpress-comments/ for fixing threading. With the plugin you have the option of turning the child comments into … Read more