Tag Archives: code

New WordPress Plugin: Log Deprecated Calls

New plugin for Y’all. This one is of particular interest to plugin authors and theme designers (and… nobody else). Activate it, and any time WordPress calls a function or file that has been deprecated, a message will be sent to your PHP log file that identifies exactly where the call came from and what to [...]

Use Classes in your WordPress plugins to increase code portability and reduce name conflicts

One of the most powerful features of WordPress is the huge community of developers making plugins that extend the software far beyond what the core application provides. It also allows people to add just what they want to use, rather than having a single bloated homogeneous download. There are drawbacks as well, of course. Any [...]

How to write a solid and stable WordPress plugin

Mark Jaquith has put up a nice article on “How to write a solid and stable WordPress plugin“. It’s more of a rough overview than a detail piece, but he promises more details down the line in separate articles. This is worth looking at if you write WP plugins, even if you’re pretty experienced — [...]

JavaScript Pull-Quotes 2.1.1 for WordPress

A new version 2.1.1 is up. Among the changes: Increased efficiency of version checking Fixed a small bug with the admin footer Significant cleanup of Style selection code Moved Default style to resources folder so it can’t be misplaced Significant error checking RE missing or renamed styles If chosen style is missing, falls back to [...]

On Attribution and Plugin Priorities in WordPress

A few weeks ago I wrote instructions on putting a plugin attribution in the footer of your plugin’s Admin/Settings screen. It’s a good technique, and I’ve already seen a few plugins using it. I’ve noticed somewhat of an issue recently. This is nothing Earth-shaking, nor will it break anybody’s blog; it’s really just a matter [...]

Virtual Multiblog 2.4

Okay, folks. A user pointed out a recent bug that can prevent the VUSER from being determined correctly. It probably accounts for the vast majority of the “This isn’t working” reports we’ve been getting around here lately. Sorry about that. So, if you’ve been having trouble getting the latest version to work, try version 2.4. [...]

Consolidate Options with Arrays in your WordPress Plugins

If you’ve ever written a plugin for WordPress you’ve probably dealt with giving the end user options. Unless you’ve taken the low road and forced the user to directly edit the plugin file, “options” means a Settings screen in the WordPress admin, and most likely you are storing those options in the blog’s wp-options table. [...]

WordPress plugin attribution footer — update

In a recent post I showed how to put an attribution in the footer of your plugin’s admin screen. In the example I gave, I used a format of: MyWidget plugin | Version 1.0 I have seen a few plugins already updated and using this methodology, but for the most part authors are adding a [...]