{"id":96530,"date":"2019-01-09T00:15:54","date_gmt":"2019-01-09T00:15:54","guid":{"rendered":"https:\/\/ru.wordpress.org\/plugins\/safe-php-code-widget\/"},"modified":"2019-01-09T01:28:53","modified_gmt":"2019-01-09T01:28:53","slug":"safe-php-code-widget","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/safe-php-code-widget\/","author":16766993,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"5.0.25","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Safe PHP Code Widget","header_author":"k0tik","header_description":"Adds a secure and simple widget in which you can use PHP-code. Also you can use JavaScript, unfiltered HTML or just Text. Admin Use Only.","assets_banners_color":"dadada","last_updated":"2019-01-09 01:28:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/newbiz.online\/wp","header_author_uri":"https:\/\/profiles.wordpress.org\/k0tik","rating":0,"author_block_rating":0,"active_installs":70,"downloads":2270,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2008818","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2008818","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2008798","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2008818","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2008818","resolution":"2","location":"plugin"}},"screenshots":{"1":"The widgets screen showing a Safe PHP Code Widget in use.","2":"The output of the widget on the site."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,246,229,662,162],"plugin_category":[43,59],"plugin_contributors":[166513],"plugin_business_model":[],"class_list":["post-96530","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-html","plugin_tags-javascript","plugin_tags-php","plugin_tags-widget","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-k0tik","plugin_committers-k0tik"],"banners":{"banner":"https:\/\/ps.w.org\/safe-php-code-widget\/assets\/banner-772x250.png?rev=2008798","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/safe-php-code-widget\/assets\/icon-128x128.png?rev=2008818","icon_2x":"https:\/\/ps.w.org\/safe-php-code-widget\/assets\/icon-256x256.png?rev=2008818","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/safe-php-code-widget\/trunk\/screenshot-1.png?rev=2008818","caption":"The widgets screen showing a Safe PHP Code Widget in use."},{"src":"https:\/\/ps.w.org\/safe-php-code-widget\/trunk\/screenshot-2.png?rev=2008818","caption":"The output of the widget on the site."}],"raw_content":"<!--section=description-->\n<p>The usual Text widget allows you to insert arbitrary Text and\/or HTML code. This allows that too, but also parses any PHP or JavaScript code in the text widget and executes it.<\/p>\n\n<p>This plugin is based on \"PHP Code Widget\", but now available for use by site administrators ONLY, which makes it more secure.<\/p>\n\n<p>All PHP code must be enclosed in the standard php opening and closing tags ( <code>&lt;?php<\/code> and <code>?&gt;<\/code> ) for it to be recognized and executed. Also JavaScript code must be enclosed in the <code>&lt;script&gt;<\/code> and <code>&lt;\/script&gt;<\/code> tags, as usual.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>safe-php-code-widget<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>No questions yet - no answers yet.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version in the repository<\/li>\n<\/ul>","raw_excerpt":"Adds a secure and simple widget in which you can use PHP and JavaScript code. Also you can use unfiltered HTML or just Text. Admin Use Only.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/96530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=96530"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/k0tik"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=96530"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=96530"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=96530"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=96530"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=96530"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=96530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}