Changing get_slug()'s signature to static