Issue #405580 by Mark Carver: Added $variables parameter to flag_create_link() to pass through to flag.tpl.php.