[ad_1]
What is one lf the most common issues that you are facing with WordPress that can be fixed by adding code to e.g. the functions.php?
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
I always prevent large image and video uploads by clients by adding some code in functions.php.
I have a few.
Most sites I make don’t allow comments and some way or another some bot always makes it trough and spams so I have some lines where it totally deletes any mention of any comments in the admin. (In functions.php)
I have a code to stop automated updates, I don’t like automated updates. (In functions.php)
Latetely google dev console is bitching about HTST so a code for that too (in .htaccess)
I have some code to be able to rework the user roles, esp for the YOAST SEO role, to give them more rights and disable some parts of the admin (in functions.php)
Security headers
Keeping clients from seeing admin email verifications. The nag screen every 6 months or so. That and blocking un-actionable plugin notifications. The first is a simple filter, the latter is a cat and mouse game.