Plugin Options Page and Nonces
As any good plugin developer knows, WordPress 2.8 introduced a new way to handle the changing of options. The register_setting() function is used in combination with options.php to create an easy way...
View ArticleWordPress 3.0 and Custom Post Types
This morning, I switched the theme on here, Beached, over from using meta fields to WordPress 3.0’s new custom post types. Aside from having to do a manual SQL query to covert the posts, it has worked...
View ArticleExplicit Versus Implict Coding
Konstantin Kovshenin recently posted on his blog about creating a WP_Plugin class. He posted an example of a class to fit his thoughts around it on Gist, and from there, discussion has taken place on...
View ArticleOptimising WP E-Commerce’s SQL
As part of my most recent project (which you’ll be hearing more about very soon), I’ve been working with WP e-Commerce and having a tonne of fun dealing with all the bits and pieces. In general, it has...
View ArticleWhy WP_Error Sucks
Anyone who has seen me talk in the #wordpress-dev IRC room will know that I’m not a huge fan of WP_Error. However, for some insane reason, some people are. I figured it’s probably time to explain why...
View ArticleDebug Bar Logger
Fun side project of the day: a PSR-3 compatible logging panel for the awesome WordPress Debug Bar. Check it out. I’d love to get some feedback on it and improve it!
View ArticleHow I Would Solve Plugin Dependencies
One of the longest standing issues with the plugin system in WordPress is how to solve the issue of dependencies. Plugins and themes want to bring in libraries, other plugins, or parent themes, but...
View Article