Use get_post() instead of global $post.
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.

Props nacin
see #21309


git-svn-id: http://core.svn.wordpress.org/trunk@21735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Restore global references that broke the media and comment list tables. Todo, make list tables rely far less on global state. see #21309.



git-svn-id: http://core.svn.wordpress.org/trunk@21736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.

props SergeyBiryukov. fixes #21106 for trunk. see #21152.



git-svn-id: http://core.svn.wordpress.org/trunk@21737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Only allow operations on network plugins through the network admin. see #21187, for trunk.



git-svn-id: http://core.svn.wordpress.org/trunk@21740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Make the callback optional for add_settings_section(). Props lightningspirit. fixes #21630

git-svn-id: http://core.svn.wordpress.org/trunk@21742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove not so useful author column sorting. Props scribu. fixes #17141

git-svn-id: http://core.svn.wordpress.org/trunk@21743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Improve API usage in wp-app.php for post operations and attachment deletion. Proper cap checks. Unregister put_file and delete_file as core itself doesn't provide for file replacement.



git-svn-id: http://core.svn.wordpress.org/trunk@21744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add labels for all inputs in options-discussion. Props SergeyBiryukov, lessbloat, Latz. fixes #21373

git-svn-id: http://core.svn.wordpress.org/trunk@21746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update phpdoc for count_many_users_posts(). Props willmot. fixes #21640

git-svn-id: http://core.svn.wordpress.org/trunk@21747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow querying by menu_order. Props wonderboymusic. fixes #21618

git-svn-id: http://core.svn.wordpress.org/trunk@21748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Make the 'Download Export File' button primary. Props helenyhou. fixes #21781

git-svn-id: http://core.svn.wordpress.org/trunk@21749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the filter setting when searching media. Props helenyhou. fixes #19452

git-svn-id: http://core.svn.wordpress.org/trunk@21750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles:  -3.5-21751.

git-svn-id: http://core.svn.wordpress.org/trunk@21751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix old-school Preview links when a theme directory contains spaces. Fix the theme-editor.php link from MS themes screens when a theme directory contains spaces. see #21749.



git-svn-id: http://core.svn.wordpress.org/trunk@21752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only.



git-svn-id: http://core.svn.wordpress.org/trunk@21755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add menu_order to fill_query_vars(), see #21618

git-svn-id: http://core.svn.wordpress.org/trunk@21756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Validate $order in wp_get_object_terms(). props duck_.



git-svn-id: http://core.svn.wordpress.org/trunk@21758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: hide author name on single author blogs, using `is_multi_author()` -- fixes #21759, props iamtakashi.


git-svn-id: http://core.svn.wordpress.org/trunk@21761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r21761

git-svn-id: http://core.svn.wordpress.org/trunk@21762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: combine two "Nothing Found" strings for consistency and simpler translation, props SergeyBiryukov. Fixes #21802.


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