Glitch Patching

Brief downtime on July 16, 2011 of all WordPress sites due to a code bug in one of the WordPress routines. A quick patch was spackled on and everything seems to be back up again. Sorry for any inconvenience.

The problem comes in the capabilities.php file. A call to wp_get_current_user() results in a “Call to undefined function” error. Fortunately the fix is simple: at the start of php code (just after the initial “<?php” tag in the file, added the line “require_once(‘pluggable.php’);” This ensures that the problem routine is defined before it is called.

Leave a Reply

%d bloggers like this: