setting localized options, link path, and link title defaults checking to fix php error