Removing excess code
-
I am wanting to start a reasonable discussion on how to remove, and keep removed excess code that I feel is creeping into WordPress. I am not trying to start an argument but to find solutions for the minimalists among us.
Examples: I created a bare minimum theme but having a css file with zero css commends in it, just the headers. I created an index.php page that calls header, footer and closes the main div. Nothing more. I removed all other themes, turned off pingbacks, notifications, comments etc. I exited the admin system and opened the page.
There were at least three loaded js files (embed, emoji, comments), and xmlrpc is turned on. There are also css files that are not required.
I also note that there is default wordpress code that on update loads in themes like 2020, 2019 and 2018 even after they have been removed.
Are there proper ways to force these to not load and reduce the growing list of inclusions in WordPress? Is there an article or list for minimalising WordPRess for security and performance?
Cheers
- The topic ‘Removing excess code’ is closed to new replies.