{"id":64433,"date":"2014-10-20T04:14:18","date_gmt":"2014-10-20T04:14:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/test-plugin-install-capability\/"},"modified":"2014-10-20T04:14:18","modified_gmt":"2014-10-20T04:14:18","slug":"test-plugin-install-capability","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/test-plugin-install-capability\/","author":10352150,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"test-plugin-install-capability","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2014-10-20 04:14:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/chriscct7\/tpic\/archive\/master.zip","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":361,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"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-64433","plugin","type-plugin","status-closed","hentry","plugin_committers-chriscct7"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/test-plugin-install-capability.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>While doing support for so many plugins, a common issue I sometimes run into is users not having the correct directory permissions to install a WordPress.org plugin. When asking a user to test this, I typically ask them to try installing a random plugin and see if it works. The problem is, some of these plugins might do stuff on installation (because they have an install routine) that we really don&#039;t want to run since we&#039;re just testing whether or not they have the right directory permissions to install a plugin.<\/p>\n<p>Test Plugin Install Capability is a simple 8 line plugin that does 1 and only 1 thing: sees if you can install a plugin.<\/p>\n<p>If the user does not have directory permissions, an error message will appear (from WordPress core that says Access Forbidden or something along those lines). If they have a permissions, the 8 lines of this plugin output a simple &quot;You can install plugins&quot; message.<\/p>\n<p>Its a pretty simple plugin, but one that I think would be useful to many WordPress developers when trying to help WordPress users figure out why the install or update to their WordPress.org plugins don&#039;t work.\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/64433","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"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/10352150"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=64433"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=64433"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=64433"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=64433"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=64433"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=64433"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=64433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}