In WordPress, one of the major flaws that I found are that a theme’s functions.php is able to bring down the entire WordPress site. The theme file should affect the frontend of the website but should never bring down the wp-admin area. Reason for this is that the theme can be built by anyone and can be edited by anyone, this file can also be changed from the web editor and if error occurs here then the editor itself gets blocked.
I think that we should either block functions.php from being edited in the online editor or that it should be designed in a way that it doesn’t interfere with the file editor in wordpress.
- The topic ‘Error in theme's functions.php brings down entire WordPress’ is closed to new replies.