My Plugins With WordPress 2.6 Beta
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!
 




(53 votes, average: 3.77 out of 5)
June 26th, 2008 at 01:34
[...] Lester Chan, popular WordPress Plugin author, is excited about the new features including the new link in the top menu called “Speed Up” which connects with Google Gears, the new Dashboard Panel feature “Right Now” which gives a breakdown of your blog’s activity in the moment, the new Word Count feature, and Theme Previews. However, with the some recent changes in WordPress versions which impact WordPress Plugins, Chan is debating whether or not to maintain WordPress 2.5 compatibility for the next wave of WordPress Plugins, especially those impacted by the new features that allow wp-config.php to move up one level from the WordPress root and allowing the wp-content directory to be in a custom location. [...]
June 27th, 2008 at 01:58
[...] My Plugins With WordPress 2.6 Beta de Lester Chan. [...]
June 27th, 2008 at 12:43
I hadn’t heard of Google Gears until reading this. Thanks for pointing it out!
June 27th, 2008 at 13:36
I heard of it but not so sure what it does till this also =D
June 27th, 2008 at 16:01
testing.
July 6th, 2008 at 12:42
Ozh has a post up with a two-line fix for backwards compatibility.
Basically, you use WP_PLUGIN_URL et al, but first you put in a couple lines that say if they’re not already defined, you define them using what they would be under WP <= 2.5.1.
July 6th, 2008 at 22:23
yea I added that. See the latest posts.