Vote for your favourite WordPress design tweak

Down at the WordPress blog they’re looking for some suggestions on how the WordPress admin theme can be tweaked to give it a fresher look. There are a few samples that have been submitted by various themers and in true community spirit everyone is invited to come and vote for their favourite one.

Personally I quite like the current theme, and though some of the suggestions are interesting, I’m quite happy to stay with what you have at the moment. But I’m happy to submit to whatever the majority decide, if it helps make the WordPress world a better place. The best buy isn’t always what appears immediately obvious, so happy to let the wisdom of the masses decide on this one.

So head down, and vote for your favourite tweak.

A design contest

As WordPress 2.8 approaches an idea has been floated to try and improve the nav header at the top of the pages. The design contest is outlined on the WordPress blog, and there’s very little time to get your submissions in before the 2.8 go live. If you miss 2.8, there’s still a chance to get in on the 2.9 timeframe, but it would be a nice addition to have in this release.

Admin design is starting to become like the auto insurance market. A lot of offerings are starting to look similar, but you can see the differences when you look a bit closer. Certainly WordPress has a number of features I haven’t seen on other blogging and CMS platforms. My favourite feature is the auto-upgrade feature for the core and plugins. Can’t wait for it to catch on on other platforms.

WordPress MU 2.7.1

I’ve just read that WordPress MU 2.7.1 has been released a few days ago. Here’s some more information about what’s in this release:

* A revamped plugin system thanks to Andy Peatling. Plugins installed in the plugins directory rather than mu-plugins can be activated and deactivated on all blogs with one click.
* The admin bar was removed. It’ll be stuffed into a plugin instead. Must talk to Viper007Bond about that.
* A new “My Blogs” page where a user’s blogs are listed and personal “per blog” settings can be configured. It’s empty right now but it’s easy to add settings to it via plugins. Imagine having a different “Display Name” on each blog you write on! See SetupMenu and HandleFormPOST in the just removed admin bar for example code. That code uses actions rather than filters but it’ll get you started.
* The site admin can now set a Global Dashboard blog for users who don’t have blogs. Those users will be added to this blog rather than the main blog. The default role of users on that blog can also be set but if they’re not “Subscribers” they won’t be moved if you change the Global Dashboard.

It’s a great release and a worthwhile update for anyone on WordPress MU, more essential than an appetite suppressant for a chronic overeater. Not only are there a number of extra features, but there are also some security issues which have been addressed. So if you’re using WordPress MU, take note of this release and upgrade as soon as you can.

WordPress parent takes care of blo.gs

It’s with great interest that I’m reading that Automattic have agreed to take blo.gs into their network. It was owned by Yahoo, who are trying to slim down their estate. Yahoo have handed over the operation piecemeal to Automattic; which is a great gesture and tremendous value to the community. A lesser company would have shut it down and torn it apart, but Automattic have agreed to take it on board.

Pin.gs is a service similar to Ping-o-matic which lets people know when a blog has been updated. You can use it for any type of blog, whether its a diet blog specialising in phenphedrine reviews or a pharmaceutical blog containing reviews of which is the best lab coat around. Ping services are an essential part of the blogging ecosystem, so it’s great to have more choice around.

WordPress 2.8 knocking at the door

Påskemorgen 2009 - IMG_1235-2

I’ve just read on the WordPress blog that the dev team is going into a 24-hour patch marathon, just as the set of features on WordPress 2.8 has been frozen. This is an important period where patches that have been submitted get tested, verified and incorporated into the final build. The great thing about this, is that the dev team is doing a marathon run, trying to get things in order in a 24 hour window.

It can be an exciting time getting things in into release gear, as you get all your ducks lined up in a row. I’ve been in that situation a few times, and it’s particularly exciting when you’re standing in a server room, with a rackmount monitor open in front of you, while you put together the finishing touches on something that a client is just waiting for. It’s a multi-factor rush caused by the fact that you have a deadline and need to get something delivered, while at the same time you know that you need to make sure things are done properly; the last thing you need is to go live and make a mess of things.

Anyway, I’m looking foward to seeing WordPress 2.8 running on my blogs. It’s always great to get a new release isn’t it?

Strange Characters in Comments

I’ve started receiving a strange type of comment spam recently which looks like a big mess of funny characters:

characterspam

I’m pretty sure it’s spam in a different character set, as I can spot the occasional term that indicates what it is, from diet pills all the way to trade show exhibits; from PC specifications to cheap toys from China. And I’m suspecting that the characters might actually be Chinese, based on the origination of the comments.

Anyway, time to deploy Bad Behaviour. It’ll let you know if it cleans up the problem.

Three links for WordPress developers

I’ve come across a great post called Three links for WordPress developers, which is such a gem I thought it should be reproduced here. Here’s what the post recommends:

  • WordPress Coding Standards. I used to be a big fan of the “curly bracket on it’s own line” but many years ago that was beaten out of me. Coding standards can be a subjective preference, but they’re very useful when reading code created by others.
  • Data Validation. It’s vitally important that the data your web application accepts is checked for any malicious code. The new $wpdb->prepare() function is something every WordPress plugin author should be using if they have to use the database directly.
  • WordPress Nonces. A nonce makes sure that a request you’re sending your blog was one you meant to send. Without a nonce, another site could have your browser load an image on it’s site pointing at your blog’s admin page to do an administrative task. You don’t want another site fooling your browser into doing something malicious do you? See Cross-site request forgery on Wikipedia for more.

If you’re a WordPress developer these tips should be basic information for you, but they consist of advice the some people neglect, to their peril. Unfortunately, the people who suffer end up being the ones running the plugins. One of the last few hacked blogs I cleaned up belonged to someone who was on holiday in one of these fancy hotels; basically his blog had been hacked through a plugin that didn’t validate input data correctly. It was a known exploit and there had been an update to the plugin, but he wasn’t aware of it and suffered the consequences. So keep these tips in mind and test, test, test

WordPress Mobile Edition

Have you checked how your WordPress blog looks on a mobile device? Some themes look fine, but more often than not they can look a right mess. Images can be displaced, look huge or just totally break your site. This is where WordPress Mobile Edition comes in. It detects if your blog is being viewed on a mobile browser and if it is, is switches the theme to a special mobile-friendly one. This means that users on mobiles get a good rendition of your website.

The great thing about the plugin is that all you need to do is install the plugin and it will take care of everything for you. No messing around with themes or stylesheets or images; the plugin does it all. So next time you look at your website you won’t see that giant exit sign in the middle of the page.

Download it here: WordPress Mobile Edition