{"id":58704,"date":"2005-01-16T03:50:15","date_gmt":"2005-01-16T03:50:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/runphp\/"},"modified":"2007-08-17T15:45:39","modified_gmt":"2007-08-17T15:45:39","slug":"runphp","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/runphp\/","author":14972,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.2.2","stable_tag":"trunk","tested":"2.2.1","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"runPHP","header_author":"James Van Lommel","header_description":"","assets_banners_color":"","last_updated":"2007-08-17 15:45:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.nosq.com\/blog\/runphp\/","header_author_uri":"http:\/\/www.nosq.com","rating":0,"author_block_rating":0,"active_installs":600,"downloads":34041,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","other_notes"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-58704","plugin","type-plugin","status-closed","hentry","plugin_committers-jamesvl"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/runphp.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<ul>\n<li>Permission to use runPHP is controlled by Roles and Capabilities\n\n<ul>\n<li>Configure those permissions in the new runPHP Options page<\/li>\n<li>Also works in your feeds (RSS, RSS2, Atom, &amp; RDF)<\/li>\n<li>Integrated with WordPress 2.0 administrative UI<\/li>\n<li>Internationalization support: English (default), German, and French so far<\/li>\n<li>Works on PHP4 servers as well<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Unzip the contents of this file (the entire <code>runPHP<\/code> directory)\ninto: <code>\/wp-content\/plugins\/<\/code>\n\n<ul>\n<li>In \"Options &gt; Writing\"<\/li>\n<li><strong>Turn off<\/strong> \"WordPress should correct invalidly nested XHTML\n            automatically\"<\/li>\n<li>Do <em>not<\/em> use this with the visual rich editor<\/li>\n<li>Visit the \"Options &gt; runPHP\" page and set who can use the plugin\n(default is Administrators)<\/li>\n<li>Create a post and check the \"run PHP code?\" checkbox to enable PHP code\nto be dropped in to your post<\/li>\n<li>I10n support is available only if WP_LANG is defined in your\nwp-config.php file (English, French, and German are included. You can\nuse <a href=\"http:\/\/www.poedit.org\/\">POEdit<\/a> to add your own.)<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Caveats and Gotchas<\/h3>\n<ul>\n<li>Code executed by runPHP is <em>not<\/em> in the global scope. It is executed as if\nit were inside a function block and so you'll need to declare your\nglobals accordingly. (This is a limitation of PHP's <code>eval()<\/code> function, not\nthe plugin itself.)\n\n<ul>\n<li>Some people have reported seeing an error message of\n\"unexpected T_OBJECT_OPERATOR\" in the <code>runPHP_options_ui.inc.php<\/code> file.\nI <em>think<\/em> this is because of how PHP4 handles objects - will you add a\ncomment (preferably in\n<a href=\"http:\/\/www.nosq.com\/forum\/index.php?topic=3.0\">this forum thread<\/a>) about\nwhat version of PHP your website is using?<\/li>\n<li>With few badly written WordPress themes, the plugin does not work. This is\ncaused by a missing <code>wp_head()<\/code> call in the theme's header template (often\ncalled <code>header.php<\/code>).\nIf that is the case, fixing it is simply a matter of inserting\n at the right point in the php template. \nSee (http:\/\/squio.nl\/blog\/2006\/11\/08\/wp-themes-and-microsummary-plugin\/)\nfor more details.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n\n\n<p>Thanks for using this plugin - I hope it helps!<\/p>","raw_excerpt":"Allow users to embed PHP code in their posts or pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/58704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=58704"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jamesvl"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=58704"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=58704"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=58704"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=58704"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=58704"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=58704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}