{"id":126,"date":"2007-09-07T17:26:02","date_gmt":"2007-09-07T09:26:02","guid":{"rendered":"http:\/\/lesterchan.net\/wordpress\/2007\/09\/07\/wp-print-and-wp-email-on-wp-23\/"},"modified":"2007-09-25T16:12:28","modified_gmt":"2007-09-25T08:12:28","slug":"wp-print-and-wp-email-on-wp-23","status":"publish","type":"post","link":"https:\/\/lesterchan.net\/wordpress\/2007\/09\/07\/wp-print-and-wp-email-on-wp-23\/","title":{"rendered":"WP-Print And WP-EMail On WP 2.3"},"content":{"rendered":"<p>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.<\/p>\n<p>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(&#8216;the_title&#8217;) 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.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/lesterchan.net\/wordpress\/2007\/09\/07\/wp-print-and-wp-email-on-wp-23\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WP-Print And WP-EMail On WP 2.3&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,11],"tags":[27,22],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-wp-email","category-wp-print","tag-27","tag-compatibility"],"views":8683,"_links":{"self":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":0,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"wp:attachment":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}