Branching for 3.1


git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for the 3.1 branch.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Bump.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for 3.1 branch

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove unused/non-functional code with old-style CSRF checking. see #16499


git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove debug cruft. Props markmcwilliams. fixes #15530

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add cap and type checks to media item fetch. For 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
No translation for post format slugs. Too fragile for the future. fixes #16459 for 3.1 branch

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly encode the post title. Props koopersmith, nacin. For 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Preserve tag escaping. Props koopersmith, Nils Jueneman. For 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Do not use PHP5-only array_combine. props duck_. see #16459 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB.  Props duck_. For 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Bump

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
A little escaping paranoia, just to be safe. (Already sanitized, higher up). for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Bump

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Skip authors that no longer exist when doing an export. props nacin. fixes #16479 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
RC4

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for the 3.1 branch.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17423 1a063a9b-81f0-0310-95a4-ce76da25c4cd