Fix undefined array key "disqus_partner_key" and deprecated "get_theme" function.