- Lester Chan's WordPress Plugins - https://lesterchan.net/wordpress -

WP-Print And WP-EMail On WP 2.3

Someone reported to me that WP-Email is not working on this site, and after some checking, I also found out that WP-Print is also not working due to the extra / that WordPress generates for wp-print and wp-email permalink structure in WP 2.3.

WP-EMail has another problem which took me 4 hours just go pin-point it. Apparently when it includes wp-email.php and in wp-email.php there is a add_filter(‘the_title’) which hooks onto the title filter. For some reasons, the core WordPress function get_the_title() is casing the server to throw an error. In order to bypass it I have to create a new function to emulate something like the get_the_title() function.

I have since fixed all the bugs that I mentioned above and now WP-Print and WP-EMail will only work for WP2.3 and nothing below it. Sorry for any inconvenience caused.