So it seems like WordPress 2.5 ended up breaking some things in the previous version. So I did some work over the weekend and brought everything back up to speed. Here’s a list of what’s been updated:
- Added PHPDoc
- Updated add_action to use inbuilt filter rather then have users add their own
- Update admin UI to 2.5 LnF1
- Updated input tag to make it look like native input tags
- Updated fergcorp_forceRegistrationField_updateFields to use passed variable instead of DB query
- Updated error handling in fergcorp_forceRegistrationField_checkFields to use the new WP_Error object (note: this makes WP 2.5 a minimum requirement)
I think the best news is that you don’t need to modify files anymore to get the plugin to work, you can just drop it in and go. WordPress also has implemented a new error handling framework (WP_Error) which is pretty spiffy.
On a side note, I did take a gander at the MU version of the plugin and it appears to be working properly…at least for now.
Read more or download it!
1 LnF: Look and Feel
I wanted to release this earlier, but between finals, being sick, and field session, I haven’t had a lot of time. This version of Countdown Timer (almost) updates the UI to 2.5 look and feel. As it turns out, there’s actually some function calls I can use to better create the UI and I’ll be using those in the future. There’s a couple of bug updates and added some new functionality.
Also, Countdown Timer v2.2 requires WordPress 2.5 or higher!
The run down:
- Updated some phrases that missed being i18n.
- Updated i18n to use use sprintf’s to assist in proper translation.
- Update the admin page to WordPress 2.5 Look and Feel.
- Users are now able to define the data (text/HTML) that comes after the title and before the actual countdown.
- Implemented a new function, fergcorp_countdownTimer_single($date), that allows users to create a one-off event outside of The Loop. $date should be PHP strtotime parseable string.
- Plugin output is now XHTML 1.0 Strict compliant.
Read more or download version 2.2!