Rename some variables for consistency. Remove redundant absint() call. see #24010.

git-svn-id: http://core.svn.wordpress.org/trunk@24024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revisions: when upgrading the revision author don't add a copy of the post as latest revision when some of the revisions are already at v1. See #16215

git-svn-id: http://core.svn.wordpress.org/trunk@24025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revisions: look at the version of the earliest revision when checking whether to upgrade the revisions authors, see #16215

git-svn-id: http://core.svn.wordpress.org/trunk@24026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Only show database errors if WP_DEBUG_DISPLAY is enabled. props cheeserolls, storkontheroof, crazycoders. fixes #22203.

git-svn-id: http://core.svn.wordpress.org/trunk@24027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass $post to display_post_states filter (in _post_states()).



git-svn-id: http://core.svn.wordpress.org/trunk@24028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Merge remote-tracking branch 'upstream/master'
Twenty Thirteen: Use the_post_format_gallery(). props obenland, fixes #24126.



git-svn-id: http://core.svn.wordpress.org/trunk@24029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Thirteen: Use WP_Theme's methods, rather than legacy properties.



git-svn-id: http://core.svn.wordpress.org/trunk@24030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Thirteen: Move no-avatars class to the existing body class modification function.

 * Move includes to the top of the file.
 * Make search_form two words in twentythirteen_search_form_format().

fixes #24127.



git-svn-id: http://core.svn.wordpress.org/trunk@24031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Thirteen: Use the newer 'enqueued' argument for wp_style_is(). (This is, incidentally, the default.)



git-svn-id: http://core.svn.wordpress.org/trunk@24032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Thirteen: Don't use the_post_format_gallery() as it does not exist (yet). see #24126.



git-svn-id: http://core.svn.wordpress.org/trunk@24033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Post Formats: use the content body for the body of the Quote post format.

* Searchable, better editing tools
* Less cluttered Post Format UI

props kovshenin, DrewAPicture. see #24009

git-svn-id: http://core.svn.wordpress.org/trunk@24034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Thirteen: search form fixes for IE7, and add fallback search type selector to RTL stylesheet, see r23961. Closes #23997.

git-svn-id: http://core.svn.wordpress.org/trunk@24035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Thirteen: remove toolbar callback in functions.php -- and add an `!important` in its place in the stylesheet. Props obenland, fixes #24129.

git-svn-id: http://core.svn.wordpress.org/trunk@24036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Merge remote-tracking branch 'upstream/master'
Revert "Merge remote-tracking branch 'upstream/master'"

This reverts commit 2a831f4f6e32fe69d85f49e3d9d75e48be3f5cf4, reversing
changes made to c2ef2f85a24816ed67c996fa79ebe5c8e453ccb2.