Adding intval/escape_string + format code + adding comments.
Adding $_configuration['auto_detect_language_custom_pages'] see BT#8840