Scott Taylor
77c156631a
Alter the layout of the checkboxes in the modal view for Audio/Video Details to allow translations more room to breathe.
...
See #27893 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28184 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 20:28:35 +00:00
Scott Taylor
4507f1e04f
Persisting <track>
elements as the body of a [video]
shortcode in MCE Views:
...
* When generating the view's HTML, ensure that the shortcode's `content` is added to the model
* Add a `PostProcess` event in the `wpview` plugin to properly return the shortcode when the editor mode is toggled, ensuring that elements in the body are not dropped.
Props azaozz, wonderboymusic.
See #27915 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28183 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 18:20:54 +00:00
Scott Taylor
97c497abc2
Refinements for asynchronous rendering in wp.mce.media.PlaylistView
:
...
* Add `visibility: hidden` as an inline style to `<audio>` tags, there is a race with the stylesheet which can get enqueued in the body and loaded in the footer.
* When creating new instances of `MediaElementPlayer`, always push them onto a stack. Lone views can be responsible for multiple instances of the same shortcode on render.
* Rename `wp.media.mixin.unsetPlayer()` to `wp.media.mixin.unsetPlayers()` to reflect the above.
* Call `wp.media.mixin.unsetPlayers()` on the view's `unbind()` method, instead of inline in the `render()` method
* Make sure `WPPlaylistView` is instantiated for each editor instance
* Ensure that the `No Items Found` view state is not rendered when attachments actually do exist.
Props gcorne, wonderboymusic.
See #27899 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28182 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 17:52:06 +00:00
Andrew Nacin
620fc6660c
TinyMCE: Restore old wordpress_adv_hidden editor parameter to enable force-showing the kitchen sink.
...
props azaozz.
see #27963 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28181 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 13:49:28 +00:00
Andrew Nacin
adf4aa7393
Editor: Shrink the font size for the chosen format so it fits in more locales.
...
props SergeyBiryukov.
see #27903 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28180 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 13:23:29 +00:00
Helen Hou-Sandi
c4db2733df
Don't allow disabled input styling to get lost in the cascade. props ocean90. see #27906 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28179 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-21 20:54:13 +00:00
Scott Taylor
8c6b77a4da
Use the proper translated string for Video Playlist "drag info" - the text displayed above the playlist's sortable attachments.
...
See #27937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28178 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-21 19:36:21 +00:00
Helen Hou-Sandi
2344fb91dc
Simplify the admin menu notification selector so color schemes don't get stomped. props celloexpressions. see #27920 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28177 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-21 18:54:22 +00:00
Andrew Nacin
5295d232af
Remove version string from Thickbox so it assumes the WP core version. Bust some caches.
...
props celloexpressions.
see #27861 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28176 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-21 05:06:54 +00:00
Andrew Nacin
267c6371fa
4.0 version bumps.
...
props kworthington.
fixes #27872 , #27873 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28175 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-21 04:41:57 +00:00
Scott Taylor
99ca08fb55
Add calc()
rules for max-width
of playlist caption.
...
Props celloexpressions.
See #27923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28174 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-20 05:09:47 +00:00
Scott Taylor
a39eb76bc5
Support RTL properly when displaying playlists.
...
Props SergeyBiryukov.
See #27924 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28173 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-20 04:26:59 +00:00
Scott Taylor
22c3cc1fec
Properly account for text overflow in .wp-playlist-caption
by adding display: block
.
...
Props celloexpressions.
See #27923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28172 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-20 04:24:53 +00:00
Scott Taylor
47d8ce50b0
Add a compatibility layer in wp-playlist.js
to avoid VM errors from MediaElement's plugin bridge in the TinyMCE views for playlists by suppressing playback for files whose mime-type is not supported in the user's browser natively.
...
This is similar to how audio and video shortcodes are handled: file types are whitelisted for native playback.
See #27892 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28171 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-20 03:52:57 +00:00
Andrew Nacin
55a3551646
Customizer: Correct reference to the 'Add new image' button.
...
props jjeaton.
see #27890 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28170 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 19:44:43 +00:00
Scott Taylor
29a1d6fe13
Don't show textareas that have "hidden" as a class in the media modal.
...
See #27915 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28169 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:33:42 +00:00
Andrew Nacin
9ed158cc8c
Properly translate 'Select Poster Image'.
...
props dimadin.
see #27845 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28168 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:27:51 +00:00
Andrew Nacin
d798de002d
Version bumps for Twenty Eleven, Twenty Twelve, Twenty Thirteen, Twenty Fourteen.
...
props lancewillett.
see #27843 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28166 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:25:03 +00:00
Andrew Nacin
12d417d12a
Update POT files for bundled themes. see #27843 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28165 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:22:16 +00:00
Andrew Nacin
77c11f6cc9
Theme Installer: Proper redirection and action links post-install in multisite.
...
fixes #27869 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28163 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:17:12 +00:00
Andrew Nacin
9223056bb3
Fix logic inversion in [28124] to ensure widgets stay with themes during a theme switch.
...
fixes #27897 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28161 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:11:24 +00:00
Andrew Nacin
47de352468
Use correct echoing context function. see #27889 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28160 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:08:05 +00:00
Andrew Nacin
cb4f555da4
Context for 'Installed' and 'Already Installed' theme strings.
...
props SergeyBiryukov.
see #27889 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28159 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-19 18:07:30 +00:00
Scott Taylor
6ccd360ff4
Don't set the poster image for videos in a playlist if the image is the video mime-type icon blown up.
...
See #27892 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28158 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-18 17:38:53 +00:00
Andrew Nacin
18f073cde0
Trunk is now 4.0-alpha.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28157 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 19:36:35 +00:00
Andrew Nacin
91f1a42b6a
WordPress 3.9.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28153 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 18:00:26 +00:00
Mark Jaquith
3127edf4c8
Prevent customizer header image list from listing user images twice when no theme-specified images exist
...
fixes #27839 . props mcsf
git-svn-id: https://develop.svn.wordpress.org/trunk@28152 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 18:00:10 +00:00
Andrew Nacin
fc6d8f705f
About page: Don't use wp_playlist_scripts() as that prints stuff.
...
fixes #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28151 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 17:55:00 +00:00
Andrew Nacin
bd9e4f4f30
Final about page.
...
props melchoyce, helen, wonderboymusic, nacin, and the illustrious Michael Pick.
fixes #27713 , #27837 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28150 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 17:39:18 +00:00
Mark Jaquith
e05574bcf9
Ensure that wp.media.view.settings.post
is set before accessing the post's id
...
Avoids JS error in cases where media-editor is loaded individually
instead of with the whole `wp_enqueue_media()` process.
fixes #27836 . props nacin
git-svn-id: https://develop.svn.wordpress.org/trunk@28149 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 15:25:35 +00:00
Andrew Nacin
43d194c3b6
Widgets: Better padding for translations of "Reorder".
...
fixes #27788 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28148 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 13:07:01 +00:00
Andrew Nacin
2d4ea78457
Theme Installer: Properly call router navigation.
...
props gcorne.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28147 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 03:05:52 +00:00
Andrew Nacin
9720c92028
About page: Use a better preposition to describe drag-and-drop.
...
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28146 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:45:34 +00:00
Andrew Nacin
aeef0e992a
Translate a string added in 3.7.1 but never translated previously.
...
props SergeyBiryukov.
fixes #27819 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28145 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:37:59 +00:00
Andrew Nacin
51882f8707
Graceful failures for TinyMCE views of video/audio playlists.
...
props gcorne.
fixes #27821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28144 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:22:28 +00:00
Andrew Nacin
6ac55e5a83
Widgets: Remove create_function() from the customizer class.
...
props westonruter.
fixes #27805 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28143 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:10:09 +00:00
Andrew Ozz
48f7c5fce3
TinyMCE: fix icons in IE7, fixes #27829
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28142 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:09:10 +00:00
Andrew Nacin
68776bd079
Theme Installer: Fixes for browsers without pushState.
...
props gcorne.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28141 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:03:57 +00:00
Andrew Nacin
6196b0811e
Add missing string translation in widgets.
...
see #27453 , #27112 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28140 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-16 00:00:33 +00:00
Andrew Nacin
85925b39ad
Cast wp_count_attachments() before iterating it to avoid a notice when items exist without a mime type.
...
props bobbingwide.
fixes #27802 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28139 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 23:59:48 +00:00
Andrew Ozz
77a65852fa
Update the TinyMCE tests to 4.0.21.1, see #27744
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28138 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 22:06:11 +00:00
Dion Hulse
60f6968d80
Background Updates: Avoid a PHP warning during theme update checks when there are multiple theme directories registered. Fixes #27815
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28137 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 10:56:56 +00:00
Andrew Nacin
42747be0b2
Fix entities on about page. see #27713 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28136 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 09:21:55 +00:00
Andrew Nacin
31a847bb9c
3.9-RC2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28135 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 08:58:01 +00:00
Andrew Nacin
0437f710a5
Allow the API to add text to auto update emails.
...
fixes #27812 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28134 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 08:51:23 +00:00
Andrew Nacin
62a005f254
Fix typo on about page.
...
props helen.
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28133 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 08:25:10 +00:00
Andrew Nacin
fce82f9676
Final about page text.
...
props siobhan, kerikae, DH-Shredder, nacin.
see #27713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28132 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 07:52:32 +00:00
Drew Jaynes (DrewAPicture)
ecbe6226fa
Inline documentation for three remaining hooks in wp-includes/general-template.php.
...
Documents the `login_form_top`, `login_form_middle`, and `login_form_bottom` and filters.
That's 184/184 hook docs files complete. Boom!
Props kpdesign, DrewAPicture.
Fixes #27719 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28131 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 04:41:37 +00:00
Drew Jaynes (DrewAPicture)
c91efaa74c
Inline documentation for hooks in wp-includes/general-template.php.
...
Props jesin, kpdesign.
See #27719 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28130 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 04:00:48 +00:00
Andrew Nacin
61cb5d3e49
Add a TTL to core update checks to allow us to narrow the 12-hour update window.
...
props dd32.
fixes #27772 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28129 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 02:22:07 +00:00