Programming
We provide developers and engineers the guides and tutorials they...
Search
We provide developers and engineers the guides and tutorials they...
Content is king. It's not just about how you're going to write, b...
Looking for an engaging connection with thousands of other people...
When you log into your WordPress dashboard on a fresh install, you can edit your core theme files as well as your plugin files directly from the
When you log into your WordPress dashboard on a fresh install, you can edit your core theme files as well as your plugin files directly from the WordPress dashboard. Which is quite risky. In this short article, we'll learn how to disable Theme and Plugin editors from the WordPress dashboard.
If someone somehow gained access to your WordPress website & with the enabled Plugin and theme Editors. They can use or edit any of the code they want. They won't need any FTP or SFTP access to exploit your website.
In your wp-config.php file, add the following line, save back your file & set your mind free from this security risk.
define('DISALLOW_FILE_EDIT', true);While creating a WordPress websites, its really important to take care of these small security measures in order to prevent any loss of data.
If you have any queries, comment below. You can also follow us on Twitter.