I'm assuming that this is a hook for plugins. It should probably be surrounded with an "if" to check if it's empty though because execute_string is pretty expensive, though it should be checked first whether it's also expensive if the script is empty.