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, 1,586 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, 1,800 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:
2.7,
fixes
Lester Chan’s WordPress Plugins June 2009 Update
Posted by Lester Chan at 18:52 in WP-Ban, WP-CommentNavi, WP-DBManager, WP-DownloadManager, WP-EMail, WP-PageNavi, WP-PluginsUsed, WP-Polls, WP-PostRatings, WP-PostViews, WP-Print, WP-RelativeDate, WP-ServerInfo, WP-Stats, WP-Sticky, WP-UserOnlineHere is my June 2009 WordPress plugins update containing all my 16 WordPress plugins update. All of them should work on WordPress 2.8 as I did not test them on any WordPress version below that.
Now my plugins uses jQuery for AJAX instead of TW-Sack. I have also updated the widget code to make use of the new WordPress 2.8 new Widget class and that supports multi-instances widgets. The widget code has now been merge with the main plugin file so the standalone widget plugin file is no longer in use. Please delete the whole plugin folder and upload it again to avoid any error.
As WordPress 2.8 supports loading of JavaScript in the footer, all my plugins’ JavaScripts will be loaded in the footer. Be sure you have in your theme footer.php.
Be sure to read the readme.html and checkout the changelog for more information and most importantly NOTE THE TABS AT THE TOP
WP-Ban 1.50
» Readme/Changelog
» Download Mirror #1
» Support Forum
WP-CommentNavi 1.10
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-DBManager 2.50
» Readme/Changelog
» Download Mirror #1
» Support Forum
WP-DownloadManager 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-EMail 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-PageNavi 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-PluginsUsed 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-Polls 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-PostRatings 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-PostViews 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-Print 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-RelativeDate 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-ServerInfo 1.50
» Readme/Changelog
» Download Mirror #1
» Support Forum
WP-Stats 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-Sticky 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
WP-Useronline 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum
If you like or love my plugins a lot, do consider making a donation to me. My Paypal email address is lesterchan AT gmail DOT com. Thank you =D
Tags: 2.8, release5 Comments | 5,271 views