{"id":1919148,"date":"2011-02-16T17:41:23","date_gmt":"2011-02-16T17:41:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-plugin-does-not-work-in-304\/"},"modified":"2016-08-19T22:35:43","modified_gmt":"2016-08-19T22:35:43","slug":"custom-plugin-does-not-work-in-304","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-plugin-does-not-work-in-304\/","title":{"rendered":"Custom Plugin Does Not work in 3.0.4"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I have a very simple custom plugin that worked great in WordPress version 2.7.1<\/p>\n<p>However when I try to use it in WordPress version 3.0.4.<\/p>\n<p>Here is my custom plugin code:<br \/>\nfunction KathyTest()<br \/>\n{<br \/>\n    print (&#8220;Kathy Test!&#8221;);<br \/>\n}<\/p>\n<p>I have created a page in WordPress called &#8220;Test Plugin&#8221; and call this function as follows:<br \/>\n&lt;?php<br \/>\nKathyTest();<br \/>\n?&gt;<\/p>\n<p>and it just displays this text and not the words &#8220;Kathy Test&#8221;.<\/p>\n<p>I am really stuck and have to solve this problem. Any help would be appreciated.<\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-1919148","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1919148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1919148\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1919148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}