Hi thanks for the post you correct GitHub hasn’t been maintained rather the WordPress main repository over here. I’ll follow up with you on Guthub.
Thread Starter
cerice
(@cerice)
Thank you for the answer.
I saw that the version on the github was old, but the part of the code that I modified did not change in version 3.8.
This part causes SQL query saturation on our server. Indeed we have a multisite of more than 1000 blogs and fortunately the “get_sites” function limits the number of blogs back to 100.
I’m just waiting for your return of validation of the modified code to put it into production. As I say in “github”, this piece of code makes no sense for the site it’s running on and the last of the 100 sites wins on whether or not “add_action” is enabled.
@CEric-fr – I’ve updated GitHub status with the current dev code and pushed to GitHub which should resolve the issue, let me know how you get on.
version 3.9 is now live to address this ticket.