wpdb: set dbh to null when the mysqli connection fails. see #21663.


git-svn-id: https://develop.svn.wordpress.org/trunk@27277 602fd350-edb4-49c9-b593-d223f7449a82
Add a constant to disable mysqli for testing purposes. see #21663.


git-svn-id: https://develop.svn.wordpress.org/trunk@27278 602fd350-edb4-49c9-b593-d223f7449a82
When failing to reconnect to a server that has gone away, simply fail the query once we've passed template_redirect, rather than wp_die(). 

props pento.
see #5932.


git-svn-id: https://develop.svn.wordpress.org/trunk@27279 602fd350-edb4-49c9-b593-d223f7449a82
Decrement update count bubbles as plugins/themes are updated, live.

props gcorne, mitchoyoshitaka.
fixes #17703.


git-svn-id: https://develop.svn.wordpress.org/trunk@27280 602fd350-edb4-49c9-b593-d223f7449a82
Remove title attributes on the fly when [27280] makes them incorrect. see #17703.


git-svn-id: https://develop.svn.wordpress.org/trunk@27281 602fd350-edb4-49c9-b593-d223f7449a82
Ensure disabled secondary buttons do not change background on hover or active.

props helen.
fixes #26785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27282 602fd350-edb4-49c9-b593-d223f7449a82
Pass the comment object to the get_comment_date and get_comment_time.

props SergeyBiryukov.
fixes #19849.


git-svn-id: https://develop.svn.wordpress.org/trunk@27283 602fd350-edb4-49c9-b593-d223f7449a82
Use placeholders in strings in wp_sprintf_l() to ensure spaces are not lost in translation.

props andy.
fixes #26651.


git-svn-id: https://develop.svn.wordpress.org/trunk@27284 602fd350-edb4-49c9-b593-d223f7449a82
Make get_adjacent_post() wrap a new WP_Get_Adjacent_Post object that uses WP_Query.


git-svn-id: https://develop.svn.wordpress.org/trunk@27285 602fd350-edb4-49c9-b593-d223f7449a82
Make get_adjacent_post() wrap a new WP_Get_Adjacent_Post object that uses WP_Query.

See [27285] for the actual commit, which misfired.

props ethitter!
fixes #26937.


git-svn-id: https://develop.svn.wordpress.org/trunk@27286 602fd350-edb4-49c9-b593-d223f7449a82
We shall call it WP_Adjacent_Post instead. see #26937.


git-svn-id: https://develop.svn.wordpress.org/trunk@27287 602fd350-edb4-49c9-b593-d223f7449a82
One more change. see #26937.


git-svn-id: https://develop.svn.wordpress.org/trunk@27288 602fd350-edb4-49c9-b593-d223f7449a82
Remove unnecessary quotes from urls in CSS.

props TobiasBg.
fixes #22476.


git-svn-id: https://develop.svn.wordpress.org/trunk@27289 602fd350-edb4-49c9-b593-d223f7449a82
Return 404 when querying author's posts who is not a member and has no posts on the site

fixes #20601. props yoavf, nacin, SergeyBiryukov, wonderboymusic, markjaquith.

git-svn-id: https://develop.svn.wordpress.org/trunk@27290 602fd350-edb4-49c9-b593-d223f7449a82