Content including hooks inside wp-settings.php are being called twice in WordPress


I found that init hook is being called twice and then I try to trace and find out wp-settings.php is also being called twice. I originally want to post a question to find out why. And after some code injection tests. I found out the reason and would like to share here and see if there is anyone have another insight or method or workaround which could avoid the “double calling”.

And the following is the testing method for finding out, there could be other possibilities and methods. Anyone with similar mind in detailed performance tweak may take a look.

, , , simongcc 5 months 0 Answers 55 views 0

Leave an answer