Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

馃挕 Theme/Plugin Editors: disable by default #80

Closed
viktorix opened this issue May 24, 2023 · 3 comments
Closed

馃挕 Theme/Plugin Editors: disable by default #80

viktorix opened this issue May 24, 2023 · 3 comments
Labels
type: feature request New feature or request

Comments

@viktorix
Copy link
Member

viktorix commented May 24, 2023

Context

The petition received much support to implement this change for new installs. This would be a good inclusion for v2.

Possible implemantion

@mattyrob suggested an easy solution:

In order to get this into the code without it being a breaking change couldn鈥檛 we just add:
define( 'DISALLOW_FILE_EDIT', true );
to the wp-config-sample.php file for new installs?

If this is all it takes, I think we should include it to improve overall security.

Will you be able to help with the implementation?

If it's only a new constant being added to wp-config-sample.php, then yes I can submit a PR.

@xxsimoxx
Copy link
Member

I agree to add the constant to wp-config-sample.php.

@viktorix
Copy link
Member Author

Completed in #83

@ClassyBot
Copy link
Contributor

This issue has been mentioned on ClassicPress Forums. There might be relevant details there:

https://forums.classicpress.net/t/theme-plugin-editors-disable-by-default/2813/13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants