Archive for November, 2008

26th November 2008

Away From 14th December 2008 To 2nd January 2009

Posted by Lester Chan at 02:36 in Site

I will be away from the 14th December 2008 to 2nd January 2009 to Taiwan for holidays.

During this period, http://forums.lesterchan.net will be in a read-only mode, meaning you can only search and read topics/replies. Registration of new account, replying to an existing topic and posting a new topic will be DISABLED.

I WILL NOT entertain any support questions that are sent to me via email during this period.

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (591 votes, average: 4.05 out of 5)
Loading ... Loading ...

WordPress 2.6.5

Posted by Lester Chan at 02:23 in WordPress

WordPress 2.6.5 has been released. This release fixes a security problem as well as 3 other minor fixes.

he security issue is an XSS exploit discovered by Jeremias Reith that fortunately only affects IP-based virtual servers running on Apache 2.x. If you are interested only in the security fix, copy wp-includes/feed.php and wp-includes/version.php from the 2.6.5 release package.

2.6.5 contains three other small fixes in addition to the XSS fix. The first prevents accidentally saving post meta information to a revision. The second prevents XML-RPC from fetching incorrect post types. The third adds some user ID sanitization during bulk delete requests. For a list of changed files, consult the full changeset between 2.6.3 and 2.6.5.

Note that we are skipping version 2.6.4 and jumping from 2.6.3 to 2.6.5 to avoid confusion with a fake 2.6.4 release that made the rounds. There is not and never will be a version 2.6.4.

5 files have been changed:

  1. /wp-admin/users.php
  2. /wp-includes/feed.php
  3. /wp-includes/post.php
  4. /wp-includes/version.php
  5. xmlrpc.php

You can just download this 5 files and upload it to your server

Tags: ,

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (27 votes, average: 3.56 out of 5)
Loading ... Loading ...

16th November 2008

WordPress 2.7 Beta 3

Posted by Lester Chan at 11:50 in WordPress

WordPress 2.7 Beta 3 has been released.

  • Numerous style improvements and refinements.
  • All admin notices now go under the page title.
  • PHP Notice fixes.
  • Dashboard widget options now properly save.
  • Menu fixes.
  • New design for Quick Edit.
  • Canonical feed URL fixes.
  • Walker fixes.
  • An update for Hello Dolly.
  • Plugin installer updates.
  • Numerous font updates.
  • Updated login logo.
  • Switch position of “Save Draft” and “Preview” buttons in publish module.
  • File upload support for MS Office 2007+ file formats.
  • Media upload buttons won’t show if the user doesn’t have the upload capability.
  • Canonical redirects only do yes-www or no-www redirection for domains.
  • Shift-click checkbox range selection improvement.
  • Add New User page now separate.
  • Tag suggest only suggests tags (not other taxonomy terms).
  • QuickPress shows “Submit for Review” if user cannot publish.
  • Private posts/pages, and password-protected posts/pages are rolled into new “Visibility” section of publish module.

I got a feeling beta 3 will be a last beta and an RC1 will hit us next week.

Download: WordPress 2.7 Beta 3

Tags: ,

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (73 votes, average: 3.73 out of 5)
Loading ... Loading ...

6th November 2008

WordPress 2.7 Beta 2

Posted by Lester Chan at 17:11 in WordPress

WordPres 2.7 Beta 2 has been released.

Here are the changelog since beta 1:

  • The Upload button didn’t always show. Fixed.
  • JS on the Dashboard broke for blogs with no comments, causing several UI elements to “freeze”. Fixed.
  • Recent Drafts Dashboard module didn’t show correct times. Fixed.
  • Various Autosave fixes.
  • Redirect after deleting a page from the editor went back to the deleted page. Fixed.
  • Fixed loading of translations for default TinyMCE plugins.
  • Added avatars to the edit users list.
  • Added some missing translations.
  • Fixed some validation errors.
  • Fixed some PHP warnings and notices.
  • Handle inconsistent file permissions during auto upgrade
  • Change Publish box layout to better accommodate internationalized text
  • Fix quick editing of the last page in the Edit Pages list
  • Fix Screen Options for IE
  • Fixes for choose tag from tag cloud
  • Rewrite rules fixes for certain hosts
  • Don’t check for updates on every page load
  • Easier post box dropping
  • Preview fixes
  • RTL fixes
  • Fixed broken wp-mail
  • Plugin update and install fixes
  • First draft of contextual help tab

Download: WordPress 2.7 Beta 2

You can do the automatic upgrade via WP-Admin -> Tools -> Update.

PS: I would always recommend manually upgrade instead of automatic upgrade as it is more prone to errors.

Tags: ,

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (85 votes, average: 4.01 out of 5)
Loading ... Loading ...

4th November 2008

WP-CommentNavi 1.00 Beta

Posted by Lester Chan at 16:38 in WP-CommentNavi

I have created a new plugin called WP-CommentNavi for WordPress 2.7. What it basically does is to have nicer/advanced pagination for your comments in WordPress 2.7. It is basically a copy of my WP-PageNavi plugin replaced with variables from the comments API of WordPress. I whipped out this plugin within an hour through lots of “Finding & Replacing” of texts.

Here is a demo of the plugin in action.

You can download it from here:

  WP-CommentNavi 1.00 Beta (11.0 KiB, 596 hits)

Do remember to read the readme.html

I have already applied for this plugin on the WordPress repository. Still waiting for a reply.

*UPDATE* Committed the plugin, SVN is at http://plugins.trac.wordpress.org/browser/wp-commentnavi/

Tags:

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (61 votes, average: 3.93 out of 5)
Loading ... Loading ...

1st November 2008

My Plugins And WordPress 2.7

Posted by Lester Chan at 22:38 in Plugins, Site, WP-EMail, WP-Print, WordPress

I tested both 1.31/2.31 version as well as 1.40/2.40 version of my plugins and they appear to work fine in WordPress 2.7 EXCEPT for WP-Email and WP-Print. It is because for some reasons the canonical redirect happens before my template redirect and hence /email/ will always be an invalid page in WordPress eyes. This issue is not present in Wordpress 2.6.

My efforts had paid off when my plugins undergo major cosmetic changes back in WordPress 2.5 to accommodate the new WordPress 2.5 design. It is because for WordPress 2.7, I need not do anything and the design just fits right in. I just need to add in the icon for the admin menu for WP-DBManager, WP-DownloadManager, WP-Email, WP-Polls and WP-PostRatings.

Here are the fixes to get WP-Email 2.31 and WP-Print 2.31 to work with WordPress 2.7. I will not update WP-Email 2.31 and WP-Print 2.31 with this fix, instead I will just leave the fix to be downloadeded on this site. Do note that the fix will make WP-Email and WP-Print work for WordPress 2.7 ONLY.

Here is the fix for WP-Email 2.31:

In wp-email.php:

Find (Line 106, Line 120, Line 134 & Line 147):

1
$rewrite_rules = array_slice($rewrite_rules, 4, 1);

Replace:

1
$rewrite_rules = array_slice($rewrite_rules, 5, 1);

Find (Line 758):

1
add_action('template_redirect', 'wp_email');

Replace:

1
add_action('template_redirect', 'wp_email', 5);

Alternatively you can download the fixed wp-email.php:

  WP-Email 2.31 Fix For WordPress 2.7 (11.4 KiB, 447 hits)

Here is the fix for WP-Print 2.31:

In wp-print.php:

Find (Line 79 & Line 95):

1
$rewrite_rules = array_slice($rewrite_rules, 4, 1);

Replace:

1
$rewrite_rules = array_slice($rewrite_rules, 5, 1);

Find (Line 395):

1
add_action('template_redirect', 'wp_print');

Replace:

1
add_action('template_redirect', 'wp_print', 5);

Alternatively you can download the fixed wp-print.php:

  WP-Print 2.31 Fix For WordPress 2.7 (4.2 KiB, 548 hits)

After uploading the fix, you need to regenerate permalink. Go to (WP-Admin -> Settings -> Permalinks -> Save Changes)

I have already committed these changes to WP-Email 2.40 and WP-Print 2.40 to the SVN.

Tentatively WP-DBManager, WP-DownloadManager, WP-Email, WP-Polls and WP-PostRatings will work for Wordpress 2.7 only because of the new icon in the admin menu.

Tags: ,

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (44 votes, average: 4.18 out of 5)
Loading ... Loading ...

WordPress 2.7 Beta 1

Posted by Lester Chan at 17:20 in WordPress

WordPress 2.7 Beta 1 has been released. I am going to test it with both the current version as well as the upcoming version to see if it works.

Also, the development of WordPress 2.7 is 2 weeks behind and hence 10th November will not be the release date for the final version, but rather a release candidate. The final version is expected to be at the end of November 2008.

Speaking of the final release, it will not be available on November 10th as originally scheduled. We are two weeks behind schedule at the moment. We need a little more time to finish the visual design, do a round of user testing against that finished design, and do a proper round of public beta testing. Our plan is to keep working as if Nov. 10 is still the release date. However, instead of releasing the final 2.7 on the 10th, we will make a release candidate available instead. The release candidate is intended to be a high-quality, almost-finished release that we are comfortable recommending for broad use. After Nov. 10, the focus will be on fixing high impact bugs turned up by those of you testing the release candidate. I suspect 2.7 will be ready for final release by the end of November. A specific date will be set as we progress through the public beta cycle and get a feel for how solid the release is.

Tags: ,

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (13 votes, average: 3.92 out of 5)
Loading ... Loading ...