Tag archive for "WordPress"

Upset confused bug

I don't like WordPress, and I have worked professionally with it for a long time. My post called "WordPress is stupid" consistently gets traffic, unfortunately it doesn't have good content. Fortunately I moved on from WordPress a few years ago.

Dinosaur While checking my logs for this site and seeing the usual malicious requests against every spammers favorite software WordPress I decided to make things a little harder for them with a tarpit. more

I received an emergency call from a client, his WordPress site didn't work. None of the logins either. Well, here's another script to the rescue if all you have left is an ftp login or some other way to upload files. It will create a new admin user with the … more

Update: See also http://kuttler.eu/code/wordpress-emergency-admin/ which is a little easier to use. Recently I had to update a site but didn't have an admin account or access to the SQL database. So I wrote this short script to reset a forgotten password. To use it, edit it and fill in the … more

Are you getting "You do not have sufficient permissions to access this page." errors everywhere in the WordPress admin? I had this happening on a site, apparently the problem is that somebody changed the database prefix. It's a little suprising that this would totally break the admin, but whatever... As … more

wordpress

2012-07-22

do you use wordpress? search engines favor wordpress for some reason wordpress is very dynamic, even fbi and government sites …

Update: This script is almost obsolete as github will switch to their v3 API on may 1st, 2012 and doesn't display the API token any more... With this this script you can easily migrate a WordPress plugin from the wordpress.org svn repository to github. This script will NOT import the … more

Import WXR files from server or on plugin activation

2011-05-23

I recently patched the WordPress reset plugin to make it possible to reactivate multiple plugins after the reset. Until sivel releases an update you can download the patched version from my server (Edit: ancient content removed). As I frequently need to wipe WordPress installs during development I was looking for … more

You want to make sure the About and Blog pages exist, so create them before if necessary, see http://codex.wordpress.org/FunctionReference/wpinsertpost : wpinsert_post() more

To check for multiple custom fields you have to join the meta table twice. more

Run some code when a new blog is created. I'm not sure, but I guess this code has to be in a network-activated or mu-plugins plugin. Maybe having this code enabled in the blog you're using will suffice. more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo