Daryl Koopersmith
a4f2112fd3
Add a canonical location for media frames, an alias to fetch attachments, and frame caching to custom header. fixes #22775 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23092 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:06:49 +00:00
Andrew Nacin
e961de8af5
Media: Disable 'Insert gallery' and 'Set featured image' if nothing is queued. Converts selection toolbars to use the newer view manager. props koopersmith, fixes #22714 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23024 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 16:21:57 +00:00
Andrew Nacin
ebc5376a0d
RTL support for Masonry on the custom header page. fixes #22709 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23009 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 04:08:32 +00:00
Ryan Boren
00e20a52dc
Final round of media UX improvements.
...
Props koopersmith
fixes #21390 #22502
git-svn-id: https://develop.svn.wordpress.org/trunk@23006 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 01:26:03 +00:00
Andrew Nacin
f88b538001
Bring Featured Images back into the main media dialog.
...
Most users don't realize that the Featured Image meta box exists; if they do, few use it.
Restores the old meta box UI, including the admin_post_thumbnail_html filter. If a plugin is using _wp_post_thumbnail_html() in conjunction with Thickbox elsewhere, it will also magically still work.
Specific underlying changes:
* Converts the modal view to use the view manager, which means that a call to open() will automatically call render and attach if necessary.
* Doesn't automatically set a state in wp.media, to allow code to customize the states to be added before activation.
props koopersmith.
fixes #21776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22979 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 02:38:10 +00:00
Ryan Boren
06b9663f58
Refine media state machine methods.
...
* state( id ) becomes setState( id )
* get( id ) becomes state( id )
* state() stays the same
* previous() becomes lastState()
Props koopersmith
fixes #22652
git-svn-id: https://develop.svn.wordpress.org/trunk@22952 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-30 15:19:11 +00:00
Daryl Koopersmith
f6a737ed34
Media: Add Embed from URL tab.
...
Note: There is a bug that currently blocks adding several successive embeds.
see #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22547 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-12 05:57:12 +00:00
Daryl Koopersmith
1d6fa49ae2
Integrate media with the custom header page. fixes #21820 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22505 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-09 11:59:05 +00:00
Daryl Koopersmith
c4b070dd07
Custom Headers: Ensure the ready event fires before fetching the existing headers to apply jQuery.masonry. see #20346 , #21820 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22504 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-09 11:55:20 +00:00
Andrew Nacin
bb5d96a722
jQuery Masonry for uploaded custom headers. props zamoose. fixes #20346 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22228 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-14 17:05:16 +00:00