My Plugins And WordPress 2.5

The current version of all my plugins will work on WordPress 2.5 PROVIDED you have upgraded your WordPress blog from WP 2.x to WP 2.5.

If you are using a fresh copy of WordPress 2.5 together with my plugins, it WILL NOT work as WordPress 2.5 changes the Activation Global Scope Of The Plugins. In simpler terms, it means that upon activation of my plugins in WP-Admin, it will not create the tables needed by the respective plugins.

To solve this problem temporary, do the following in polls.php (I am using WP-Polls as an example):

Find:

$wpdb->pollsq = $table_prefix.'pollsq';
$wpdb->pollsa = $table_prefix.'pollsa';
$wpdb->pollsip = $table_prefix.'pollsip';

Replace:

global $wpdb;
$wpdb->pollsq = $wpdb->prefix.'pollsq';
$wpdb->pollsa = $wpdb->prefix.'pollsa';
$wpdb->pollsip = $wpdb->prefix.'pollsip';

Note the addition of the “global $wpdb;” and the replacement of “$table_prefix” with “$wpdb->prefix“.

I have updated WP-Polls, WP-ServerInfo, WP-Sticky and WP-UserOnline to work with WordPress 2.5. You can get them here at my downloads page (do note that they are still in beta). Those plugins that end with a “Beta 2” means it will work for WordPress 2.5.

Some of the updates are:

  • Making sure that the styling, alignment and color of the plugin matches WordPress 2.5
  • Fixes the “Activation Global Scope” issue
  • Updated WP-Polls TinyMCE plugin to work with TinyMCE 3.0
  • Added a summary of WP-ServerInfo as a Dashboard Widget
  • Added a summary of WP-UserOnline in the Right Now Dashboard Widget
1 Star2 Stars3 Stars4 Stars5 Stars (69 votes, average: 3.45 out of 5)

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!

1 Star2 Stars3 Stars4 Stars5 Stars (60 votes, average: 3.45 out of 5)

WP-Polls 2.15 Beta Test

Just wondering if anyone of you here want to beta test WP-Polls 2.15? I need people to test it because the administration panel of WP-Polls has undergone a major change. But please do not use it on a live site as it is still a beta product.

If you downloaded it, please feedback to me via the Support Forums or by email.

Thank You.

UPDATE: Download: WP-Polls 2.20 Beta 1

1 Star2 Stars3 Stars4 Stars5 Stars (55 votes, average: 3.45 out of 5)

WordPress 2.3.2

WordPress 2.3.2 has been released and this release includes a number of changes including one security fix.

  • Performance improvements for post sanitization when raw content is required.
  • Changes to is_admin() to ensure that it is only true for admin pages thereby protecting against exposing draft posts.
  • Suppression of database errors unless WP_DEBUG is true.
  • Check for valid database connection information during install and display and error if the install fails due to database rights.
  • Support for a custom database down page to be displayed on database connection errors.
  • Changes to make sure we are more selective in what we make clickable, this introduces different rules for different uri types.
  • Changes to wp-mail.php to escape the error messages when displaying them to avoid a possible XSS attack.
  • Changes to ensure that the post password is only exposed by the xmlrpc method metaWeblog.getRecentPosts to users with rights to edit a post.
  • Changes to the information exposed the wp.getAuthors xmlrpc method to reduce the information exposed and add a capabilites check.
  • Addition of extra capabilites checks to xmlrpc methods.
  • Addition of extra capabilites checks to APP server.
  • Changes to validate_file() to improve its traversal attempt detection when running on windows.

Get yours today.

1 Star2 Stars3 Stars4 Stars5 Stars (139 votes, average: 3.44 out of 5)

WordPress For Dummies

Lidija from BlogWell, interviewed Lisa Sabin-Wilson, author of WordPress for Dummies. Lisa mentioned my name in the interview and I feel very honored. Thank you Lisa if you are reading this.

Lester Chan. He is a student, and he uses his WordPress plugins to put forward as he is going through school. People make donations to him because his work is fabulous. He’s got a couple of plugins that are just fabulous and one is called

Read the full transcript of the interview

1 Star2 Stars3 Stars4 Stars5 Stars (59 votes, average: 3.44 out of 5)