Add QuickPress support for new media workflow.

* Adds the code required to include the new media scripts, styles, and settings to `media_button()`.
* Improves script dependencies, namely making `media-upload` require `media-views`.
* Some CSS tweaks for the making the new button work well with QuickPress.

see #21390, fixes #22021.


git-svn-id: https://develop.svn.wordpress.org/trunk@22072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-09-27 20:04:34 +00:00
parent b4322b3a60
commit 1758d1aae3
5 changed files with 10 additions and 7 deletions

View File

@@ -6216,7 +6216,7 @@ h3:hover .edit-box {
}
#dashboard_quick_press .wp-media-buttons {
margin: 0 0 .2em 8px;
margin: 0 0 .2em 1px;
padding: 0;
}