Patch to fix PHP notice regression after Theme Check update