Update the Masonry JavaScript library to version 3.

The new script handle is 'masonry'. The old 'jquery-masonry' handle is the official shiv that sits on top of the v3 library. While v3 no longer depends on jQuery, a theme or plugin may have bee
n implicitly loading jQuery though Masonry, rather than additionally declaring it as a dependency for themselves. Thus, the shiv is separate.

Themes should switch to 'masonry' and declare jQuery as a dependency on their own if they need it. Upgrade guide: http://masonry.desandro.com/appendix.html#upgrading-from-v2. imagesLoaded remai
ns included with Masonry here.

props shelob9.
fixes #25351.


git-svn-id: https://develop.svn.wordpress.org/trunk@27271 602fd350-edb4-49c9-b593-d223f7449a82
Keep redirect_to when hitting the log out AYS.

props mitchoyoshitaka for initial patch.
fixes #17398.


git-svn-id: https://develop.svn.wordpress.org/trunk@27272 602fd350-edb4-49c9-b593-d223f7449a82
Remove unused routing code in revisions.

props adamsilverstein.
fixes #26565.


git-svn-id: https://develop.svn.wordpress.org/trunk@27273 602fd350-edb4-49c9-b593-d223f7449a82
Add exclude and include to wp_list_authors().

props patricknami.
fixes #9902.


git-svn-id: https://develop.svn.wordpress.org/trunk@27274 602fd350-edb4-49c9-b593-d223f7449a82
Fix a sometimes notice in wpmu_current_site()

props johnjamesjacoby. see #27003.

git-svn-id: https://develop.svn.wordpress.org/trunk@27275 602fd350-edb4-49c9-b593-d223f7449a82
When closing the various "edit" media modals, remove the related views elements from the DOM. Props gcorne, fixes #27204.

git-svn-id: https://develop.svn.wordpress.org/trunk@27276 602fd350-edb4-49c9-b593-d223f7449a82
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