[ticket/12786] Some minor fixes of comments and function naming

PHPBB3-12786