WordPress won’t update

I’ve had issues with WordPress failing to update.  After searching forever and manually updating myself for months, I found the problem.  Check the /wp-contents/upgrade folder for any files.  A previous failed upgrade to core, themes or plugins will stay there and silently cause WordPress to fail to update without any notices.  Further more WordPress doesn’t …

Pastebin rewrote

I have taken my original code I wrote for my SMF powered pastebin and rewrote this script. This was a massive rewrite from the original code and hopefully it works out well for anyone else who is looking into using it. I wrote it so it should be plugable with different databases, user information and …

SMF in WordPress

For some reason, while using WordPress and including SMF’s SSI.php, it would not detect my logged in SMF session. Baffled and almost thinking this was a SMF bug of some sorts, I began to debug this process. Well it turns out it is sorta a SMF old PHP support issue, but the problem lies in …

Protecting my wordpress folders

WordPress by default doesn’t protect its wp-includes and wp-content folders. While WordPress doesn’t do stupid things in most of these files, they still don’t do a simple defined check to ensure we came from an a privileged file. SMF does this and it prevents direct loading of any of the Source files. To get around …

Simple secure login for wordpress

This is a simple way to setup a secure login for WordPress.  Simply editing “wp-login.php” and looking for: /** Make sure that the WordPress bootstrap has run before continuing. */ require( dirname(__FILE__) . ‘/wp-load.php’ ); Add after that: force_ssl_admin(true); Now when accessing login and registration pages, the browser redirects to the secure version. Edit, After …