Jun 1, 2010
Web Design
After upgrading WordPress to a new version, you might need to clear the APC opcode cache. Here is a simple script that you can store in the root of your website, for example, clearapc.php:
if (function_exists('apc_clear_cache') && $_GET['pass'] == 'secret') {
if (apc_clear_cache() && apc_clear_cache('user'))
print 'All Clear!';
else
print 'Clearing Failed!';
print '<pre>';
print_r(apc_cache_info());
print '</pre>';
} else {
print 'Authenticate, please!';
}
Then call the script via http://example.com/clearapc.php?pass=secret
Instead of using ?pass=secret, you might well call the filename something that is hard to guess: clearapc93920.php
#
May 2, 2010
WordPress
Here is a quick way to clear APC opcode cache with a single click within your WordPress dashboard Read more »
#
Nov 13, 2009
WordPress
Currently WordPress doesn’t offer an easy way for plugins which are not hosted on wordpress.org to use its built-in automatic update feature.
Fortunately, I have found a quick and simple way to add this functionality to any plugin and allow plugin authors to take a complete control over when and how the updates are released. Read more »
#
May 12, 2009
WordPress
Quick Reply Templates is a really useful WordPress plugin by Paul William that allows you to have a predefined comment reply template, such as <a href="#commend-id">@Name</a>, that will be filled out automatically when you reply to a comment within your WordPress Dashboard or Edit Comments page. Read more »
#
Mar 29, 2009
WordPress
After upgrading to 2.8-beeding-edge I got the following error:
Fatal error: Call to undefined method WordPress_Module::_weak_escape()
in ../wp-includes/wp-db.php on line 473
Disabling Redirection plugin solved the problem. Could it be that Redirection also defines _weak_escape() or escape()? Server ir running PHP 5.2.6.
#
Nov 3, 2008
WordPress
With the latest design update, I have stripped away most of the clutter in the form of secondary content. It also included removing most of the ads, just because 400 visitors a day is still to few to get more than a single click per day.
I decided to install Ozh’s Who Sees Ads plugin to make ads visible only to visitors coming from search engines. The problem, however, is that it shows ads only on the landing page and not on all pages that the user visits. Read more »
#