Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602.

Merges [24436] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use correct option name when deleting embed_autourls. props SergeyBiryukov. see #23715.

Merges [23902] to the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.

Merges [24439] to the 3.5 branch.

props SergeyBiryukov.
fixes #23555.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid a fatal error in WP_User_Query. See #23683, [23664]. For the 3.5 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.

Merges [24442] to the 3.5 branch.

props SergeyBiryukov.
fixes #23178.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@24443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use correct variable order in add_query_arg(). This had mostly just filled error logs; it also broke some obscure URL situations.

Merges [24444] to the 3.5 branch.

fixes #23284.



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