Author Archives:

WPMU Security – JS unfiltered in text widgets

Thumbs up to the WPMU team, emailed Donncha about this yesterday and he fixed it in a coupla hours: http://mu.wordpress.org/forums/topic.php?id=7809 If you’re on WordPress MU 1.3.3, you probably want to follow the fix in the link above.

Posted in Wordpress MU | 35 Comments

Rails Gracefully Degrading Javascript link_to for post / non-get methods

This works at least on Rails r8440. Just stick the code somewhere it gets loaded – I put it in vendor/plugins/graceful_link_to/init.rb # graceful_link_to # Jason Ling # http://jason.lah.cc # # This hacks link_to to produce an alternative button_to that shows … Continue reading

Posted in Rails | 38 Comments

InvalidAuthToken? Forgery protection is incompatible with cached forms

Obviously, since caching forms = caching the auth token as well. Not only forms though, anything that results in a non-get request – AJAX links, delete/post/put links, etc etc.

Posted in Rails | 36 Comments

My entry music…

Shall be the Deftone’s ‘Shove It’! Wish me luck that I won’t get beat up.

Posted in Uncategorized | 37 Comments

NX and Alt-Tab OMG

NoMachine NX is a fantastic piece of software. Let’s me remote desktop to my servers anytime anywhere and darn quick as well. But one thing that really got to me was the catching (or lack of) of the Alt-Tab keys … Continue reading

Posted in Linux | 65 Comments

WordPress.com Theme Repository

Want to quickly populate your WPMU site with the themes from wordpress.com? Here: http://svn.automattic.com/wpcom-themes/ You might need to make some small changes to get it working on your site: I had to create an empty avatar_by_id function and put it … Continue reading

Posted in Themes, Wordpress MU | 56 Comments

Theme Toolkit for WordPress MU

Ozh’s Theme Toolkit allows theme authors to easily incorporate an admin menu in their themes to facilitate user customisation. It does not work too well out of the box with WordPress MU, displaying some undesirable behaviour like the menus persisting … Continue reading

Posted in Themes, Wordpress MU | 62 Comments

Kubrick’s (WordPress’ default theme) footer alignment error

Sometimes, the footer’s alignment is off by 1px. This is due to a CSS wordaround for non-standard IE compatibility as such: #footer { padding: 0 0 0 1px; margin: 0 auto; width: 760px; clear: both; } To fix it, just … Continue reading

Posted in Themes, Wordpress | 57 Comments

Jason’s Customciser :: Customise your themes!

I wrote this plugin for my WordPress MU site and am releasing it as GPL with the hope that some might find it useful. It allows your users to customise any theme on your site, changing images and colours in … Continue reading

Posted in Wordpress MU plugins | 194 Comments

Widgets as an ‘mu-plugin’ on WordPress MU

The widgets code has been released for public consumption as a WordPress plugin and appears to work out of the box for WordPress MU. However, this would still require a user to ‘activate’ the plugin before use as opposed to … Continue reading

Posted in Widgets, Wordpress MU | 101 Comments