Safely filter webforms and other sources of data with this core API.
When code is always written the way that it's written, it sometimes takes an outsider voice to question the rote.
When you muck around with PHP enough, every now and then you'll find a skeleton in the closet.
Implementation isn't always clean. Sometimes you'll have to get your code dirty.
Enable WordPress AJAX requests to set the language locale through WPML with this small patch.
A guide to building a website from start to finish. Get your site out instead of your hair.
Having a fully translatable WordPress theme can save you a lot of work, and here's how.
An interesting gotcha that I stumbled across recently, sending a 404 response code with a download forced by Content-Disposition: attachment will fail but inline content will still be displayed. This behaviour was tested in both Chrome and FireFox.
Of course the appropriate response code should always be sent; this 404 response code was being sneaked in by WordPress and led to hours of frustration.… Read the rest
A rather frustrating bug that I became aware of when generating navigational menus for custom post types using wp_list_pages(). The list entries aren’t decorated with useful classes denoting the current item, the parent item, and ancestor(s).
Read about the issue here.… Read the rest
Prioritize Hooks is a WordPress plugin which allows the overriding of the priority of various filters and actions hooked by plugins and themes.
Fully uninstall qTranslate by undoing the content mangling!
A workaround for binding to the intended static scope without using the static:: operator introduced in PHP 5.3.
When calling a parent method, we often want dynamic binding to occur so that any method calls and member references made in this parent method will be looked up starting in the true class of the object being invoked and then in the inheritance tree.… Read the rest