{"id":18199,"date":"2012-05-19T09:48:28","date_gmt":"2012-05-19T09:48:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/config-constants\/"},"modified":"2017-03-20T15:56:41","modified_gmt":"2017-03-20T15:56:41","slug":"config-constants","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/config-constants\/","author":6138516,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"0.2","tested":"4.8.28","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Config Constants","header_author":"David Gwyer","header_description":"","assets_banners_color":"","last_updated":"2017-03-20 15:56:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.wpgoplugins.com\/","header_author_uri":"http:\/\/www.wpgoplugins.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":7365,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1621815","resolution":"1","location":"plugin"}},"screenshots":{"1":"Where all the magic happens."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3018,19328,94,737,133213],"plugin_category":[59],"plugin_contributors":[78335],"plugin_business_model":[],"class_list":["post-18199","plugin","type-plugin","status-publish","hentry","plugin_tags-config","plugin_tags-constant","plugin_tags-debug","plugin_tags-mode","plugin_tags-wp-config-wp-config-php","plugin_category-utilities-and-tools","plugin_contributors-dgwyer","plugin_committers-dgwyer"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/config-constants.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/config-constants\/trunk\/screenshot-1.png?rev=1621815","caption":"Where all the magic happens."}],"raw_content":"<!--section=description-->\n<p>NOTE: This Plugin is still in beta. It's recommended that you don't run this Plugin on production sites yet, and don't forget to backup your wp-config.php file.<\/p>\n\n<p>WordPress constants such as WP_DEBUG can be defined in wp-config.php but have to be edited manually every time you need to make a change. But no longer! You can now edit several common wp-config.php constants directly from within the WordPress admin!<\/p>\n\n<p>The current list of WordPress constants you can modify with Config Constants are:<\/p>\n\n<ul>\n<li>WP_DEBUG<\/li>\n<li>WP_DEBUG_LOG<\/li>\n<li>WP_DEBUG_DISPLAY<\/li>\n<li>SCRIPT_DEBUG<\/li>\n<li>CONCATENATE_SCRIPTS<\/li>\n<li>SAVEQUERIES<\/li>\n<li>DISALLOW_FILE_MODS<\/li>\n<li>DISALLOW_FILE_EDIT<\/li>\n<li>WP_ALLOW_REPAIR<\/li>\n<\/ul>\n\n<p>More constants will be supported in future versions.<\/p>\n\n<p>If none of the above constants are defined in wp-config.php then they will be added automatically. Constants already specified in wp-config.php will have their values modified.<\/p>\n\n<p>Also, a key feature of the Plugin is the support for two-way editing. This means you can still edit wp-config.php constants manually if you wish and your changes will be automatically synchronised with Plugin settings. Likewise, if you update the value of a constant via the Plugin options page then wp-config.php is immediately updated!<\/p>\n\n<p>Please rate this Plugin if you find it useful. :)<\/p>\n\n<p>Visit our <a href=\"http:\/\/www.wpgoplugins.com\">WordPress plugin site<\/a>.<\/p>\n\n<!--section=installation-->\n<p>Instructions for installing:<\/p>\n\n<ol>\n<li>In your WordPress admin go to Plugins -&gt; Add New.<\/li>\n<li>Enter Config Constants in the text box and click Search Plugins.<\/li>\n<li>In the list of Plugins click Install Now next to the Config Constants Plugin.<\/li>\n<li>Once installed click to activate.<\/li>\n<li>Visit the Plugin options page via Settings -&gt; Config Constants.<\/li>\n<li>On the Plugin options page some\/all of the supported constants may be initially disabled as you can only modify existing constants defined in wp-config.php. To be able to edit a constant directly in the admin just add it to your wp-config.php file and it will get picked up automatically in the Plugin settings.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p><em>0.2<\/em><\/p>\n\n<ul>\n<li>Plugin completely overhauled to work with WordPress 4.8 and fix outdated code.<\/li>\n<\/ul>\n\n<p><em>0.1<\/em><\/p>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Modify WP_DEBUG and other WordPress constants directly in the WordPress admin rather than manually editing them via wp-config.php!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18199"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dgwyer"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18199"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18199"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18199"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18199"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18199"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}