Add https support to get_option('siteurl')
Fixed str_replace() error
Allow state_rate to be 0
Revert
Merge pull request #2044 from wpsmith/bug/2026

Bug/2026, allow state_rate to be 0