EDIT: Okie, Scape that shit javascript posting. I have AJAX this plugin. =)
EDIT2: I have commented off the logging of ip and cookie, for testing purpose.
Lester Chan's WordPress Plugins Development Blog
EDIT: Okie, Scape that shit javascript posting. I have AJAX this plugin. =)
EDIT2: I have commented off the logging of ip and cookie, for testing purpose.
I have added 2 minor features to WP-PostRatings and WP-Polls. It is the ability to choose whether to show the loading image with text and the fading in and out of the poll/rating.
Some of you may not like the loading image with text, and now your wish came true, you can choose not to display it under the respective options menu.
For those CSS validating freaks, the opacity CSS value for wp-polls and wp-postratings will not pass CSS validation at W3. Now all you have to do is remove those lines in the respective css file and choose “No” for “Show Fading In And Fading Out Of Polls/Ratings”
One last thing before I end, as you all may know, if polls or ratings is embedded within the post, when viewing feed for the post, the post content might appear unsightly, so now let me gather your feedback to this issue with a poll.
Should I Remove Poll/Rating From Feed If It Is Embedded Within The Post?
Total Voters: 437
I have downloaded WordPress 2.6 Beta 1 and installed it. Not much difference from WordPress 2.5 in terms of the layout.
Now on the extreme top menu on the extreme right, there is a link called “Speed up!” which links to Google Gears.
In the Dashboard, right under “Right Now”, there is a comment break down added to it. Here is an example: “You have 1 post, 1 page, contained within 1 category and 0 tags. Current comment break down: 1 total, 1 approved, 0 spam and 0 awaiting moderation.”
When you write a page or post, underneath the “Save” and “Published” button, there is a word count indicator.
The display of themes under “Available Themes” has also changed a little.
Now back to serious business.
I am still deciding whether or not to maintain WordPress 2.5 compatibility for the next wave of updates for my plugins as WordPress 2.6 introduces a lot of constants like “WP_PLUGIN_URL”, “WP_PLUGIN_DIR”
“WP_CONTENT_DIR”, “WP_CONTENT_URL”, etc.
2 potential issues that would break my plugin in WordPress 2.6 and I will be unable to fix it unless I find another way to do the AJAX, “Allow wp-config.php to exist one level up from WordPress root directory”
and “Allow wp-content directory to exist in a custom location (not relative to ABSPATH)“.
Argh! WordPress 2.5 has the shortest development cycle!
http://wordpress.org/development/2008/07/wordpress-26-tyner/trackback/
WordPress 2.6 has been released.
Here are some new features of WordPress 2.6:
2.6 is pretty much identical to 2.5 from a plugin and theme compatibility point of view, so upgrades from 2.5 should be pretty painless. The 2.5 branch will no longer be maintain so everyone is encouraged to upgrade.
PS: The current version of my plugins should work well with WordPress 2.6 except WP-DownloadManager. Nevertheless, I will release updates to all of them tomorrow.
I spoke about WorPress Plugin Development with PHP on Wednesday, 12th December 2007 at the Singapore PHP User Group, Decemember 2007 meetup.
That is the first time I am speaking publicly and hence I was quite nervous and spoke very fast.
During normal days, I speak very fast (all my friends said that) + my nervous = super fast speaking
Anyway, enjoy this fast paced video:
And yes, embedding this video breaks my site XHTML validation!
*UPDATE* The slides can be downloaded here.