Simplify the logic for printing "Lost your password?" link. props ktdreyer. fixes #16498.

git-svn-id: http://core.svn.wordpress.org/trunk@23336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Define the variable before using it. fixes #23181.

git-svn-id: http://core.svn.wordpress.org/trunk@23337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Prevent an unintended visibility change from "Password protected" to "Public" when updating the post.

props thomasvanderbeek. fixes #23065.

git-svn-id: http://core.svn.wordpress.org/trunk@23338 1a063a9b-81f0-0310-95a4-ce76da25c4cd