Author: simonwheatley
-
Problem with a PHP fatal error when saving WP profile
This bug has been around for a little while now, and one of my clients has it bad as they cannot save user profiles without patches to WP core. (Unfortunately although WordPress Trac has tickets (#9640, #7540) the discussion over how the problem needs to be fixed has been going on for a couple of…
-
Fix users with no role – data migration plugin
So you’ve migrated a bunch of users over from another system and then, horror, you discover that they don’t have roles in WordPress. The WP Users admin screen doesn’t cope with this issue (why should it), so the only option would be to go through and manually select the roles for each user with no…
-
Migration to bbPress – fix topic slugs
So I’ve just had to migrate a whole load of data to bbPress, and unfortunately the fairly old migration tool I was using (while generally excellent) didn’t bring across the topic-slugs, meaning I couldn’t have pretty permalinks in bbPress. So I’ve written a quick plugin which creates the topic slugs, it does this by doing…
-
Installing ImageMagick on MacPorts and imagick on PECL
Over the last few hours I’ve installed ImageMagick on MacPorts (super easy), and imagick on PECL (not so much). Xentek‘s post on ImageMagick and imagick was a great help, and got me past the first brick wall I hit (passing in the ImageMagick prefix to prevent it complaining about Wand-config)… but then I couldn’t get…
-
Editing many posts at once in WordPress
Need to edit many posts at once in WordPress? Is the standard limit of 15 posts on the Posts Edit screen just not enough for you? Well, there is a hack you might be interested in. This involves editing the core WP files, so is not recommended as a permanent solution or for production sites……
-
Restoring deleted files from an SVN repository
I’ve always idly thought that one of the brilliant things about version control was that you could recover accidentally deleted files when it became necessary. Well that scenario arose today, and I realised I had absolutely no idea how to do it.
-
Individual languages for WordPress Mu sites
For WordCamp UK 2009, we’re having a dual language site (currently in the works, but hopefully near completion soon), where the content will be available in English or Welsh (as our host city is Cardiff). I had a scout around the various multi-language plugins, and none of them really seemed to hit the spot (mostly…
-
WordCamp UK 2009, theme translation file
WARNING: Of interest only to those involved in translating the Wordcamp UK 2009 theme into Welsh! WordCamp UK 2009 POT file – for translating the theme into Welsh (or any other language). For more information, see the WordPress Internationalisation information.
-
Page load hooks in the WordPress admin area
There are a number of really handy hooks, each of which are specific to a page in the WordPress admin area. You can use these action hooks to enqueue scripts on particular pages, to process form requests, etc, etc. Despite these hooks being so handy, and despite using them a great deal, every time I…
-
Problems with Time Machine endlessly preparing
We use Time Machine with a network disk connected via AirPort Extreme for backup in our household (writeup), and it’s generally a great solution. However recently my wife’s laptop had got stuck in an endless “preparing backup” situation. There didn’t seem to be any significant details in the error log, and when I ran a…
