Refine button styles, notably the gray buttons.

* Crisper edges, fewer outer shadows.
* Higher contrast borders on the gray buttons.
* Separates `button-large` from `button-primary`, and removes the `regular` override class.

props hugobaeta, helenyhou, lessbloat. see #21598.


git-svn-id: http://core.svn.wordpress.org/trunk@22099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update underscore.js to version 1.4.1. fixes #22081, see #22026.


git-svn-id: http://core.svn.wordpress.org/trunk@22100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow galleries to be reordered by drag and drop.

An `Attachments` view now accepts a `sortable` property. Manual sorting is only enabled when the corresponding collection doesn't have a comparator.

jQuery UI sortable must be enqueued for sorting to work.

see #21390, #21809.


git-svn-id: http://core.svn.wordpress.org/trunk@22101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
MCE Views: Use default shortcode properties when the shortcode parameter is set.

Prevents devs from having to manually extend the default shortcode property object.

see #21390, #21812.


git-svn-id: http://core.svn.wordpress.org/trunk@22102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Improve performance of WP_Meta_Query when doing OR queries on meta keys. Props joehoyle, SergeyBiryukov. fixes #19729

git-svn-id: http://core.svn.wordpress.org/trunk@22103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Bump. Remove hyphen from beta1 as it is not our typical format. Also, bumpbot gets confused.



git-svn-id: http://core.svn.wordpress.org/trunk@22104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass the post date to wp_upload_dir() during sideloads, just as we do uploads. Ensures that sideloaded images make it into the right uploads directory.

props solarisssmoke, fixes #16777.



git-svn-id: http://core.svn.wordpress.org/trunk@22105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass the current blog id to is_main_site() in wp_upload_dir(), because is_main_site() without arguments does not respond correctly on switch. see #19235.



git-svn-id: http://core.svn.wordpress.org/trunk@22106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add no-customize-support to the body classes when the toolbar is showing. Allows for 'Customize' to be hidden when JS is disabled. props obenland, DrewAPicture. fixes #20896.



git-svn-id: http://core.svn.wordpress.org/trunk@22107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Reduce use of  global. Use get_blog_details() instead. fixes #22090

git-svn-id: http://core.svn.wordpress.org/trunk@22108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
An empty taxonomy query should return no results rather than all posts. Props wonderboymusic. fixes #20604

git-svn-id: http://core.svn.wordpress.org/trunk@22109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
If wp_cache_incr() is not available fallback to get()/set(). fixes #22024

git-svn-id: http://core.svn.wordpress.org/trunk@22110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Merge branch 'upstream'

* upstream:
  If wp_cache_incr() is not available fallback to get()/set(). fixes #22024
  An empty taxonomy query should return no results rather than all posts. Props wonderboymusic. fixes #20604
  Reduce use of  global. Use get_blog_details() instead. fixes #22090
  Add no-customize-support to the body classes when the toolbar is showing. Allows for 'Customize' to be hidden when JS is disabled. props obenland, DrewAPicture. fixes #20896.
  Pass the current blog id to is_main_site() in wp_upload_dir(), because is_main_site() without arguments does not respond correctly on switch. see #19235.
  Pass the post date to wp_upload_dir() during sideloads, just as we do uploads. Ensures that sideloaded images make it into the right uploads directory.
  Bump. Remove hyphen from beta1 as it is not our typical format. Also, bumpbot gets confused.
  Improve performance of WP_Meta_Query when doing OR queries on meta keys. Props joehoyle, SergeyBiryukov. fixes #19729
  MCE Views: Use default shortcode properties when the shortcode parameter is set.
  Allow galleries to be reordered by drag and drop.
  Update underscore.js to version 1.4.1. fixes #22081, see #22026.
  Refine button styles, notably the gray buttons.
Merge branch 'master' of github.com:memuller/benedict

* 'master' of github.com:memuller/benedict:
  Text corrections.
  Temporary home.
  Style for headers.
  Add logotype image.
  Changing background and shadow.
  Changing colors and transitions.
  Adds custom header php.