Commit Graph

3029 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
5d8f69e0c5 Recent Posts Widget: Use ob_end_flush() instead of ob_flush().
`ob_end_flush()` flushes the output buffer *and* turns output buffering off, same as `ob_get_flush()`.

props m_i_n.
see #28009 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@28217 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 14:20:05 +00:00
Drew Jaynes (DrewAPicture)
0f759f0c01 Mark the $hook and $page_hook hooks as @internal to skip parsing.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28216 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 07:53:09 +00:00
Drew Jaynes (DrewAPicture)
609cf29058 Clean up duplicate hook notations and adjacency for calls to the wp_signup_location filter.
Also adds braces missed in [25535].

See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28215 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 07:11:32 +00:00
Drew Jaynes (DrewAPicture)
9c66e66ac5 Ensure the wp_set_comment_status action hook is only documented once.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28214 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:54:33 +00:00
Drew Jaynes (DrewAPicture)
379f725bde Ensure the wp_edit_nav_menu_walker filter is only documented once.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28213 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:49:48 +00:00
Drew Jaynes (DrewAPicture)
d1137de3de Ensure all duplicate calls of the wp_create_file_in_uploads filter are labeled as such.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28212 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:45:26 +00:00
Drew Jaynes (DrewAPicture)
42d24eebc0 Ensure adjacency of a duplicate hook comment for a the_category filter call.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28211 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:42:21 +00:00
Drew Jaynes (DrewAPicture)
3e2904138e Ensure the submitlink_box action hook is only documented once.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28210 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:34:00 +00:00
Drew Jaynes (DrewAPicture)
bf8c70a4ee Ensure the style_loader_tag filter hook is only documented once.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28209 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:28:19 +00:00
Drew Jaynes (DrewAPicture)
9da8915408 Ensure the register filter hook is only documented once.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28208 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:23:31 +00:00
Drew Jaynes (DrewAPicture)
7a0eb63a19 Ensure the nav_menu_meta_box_object filter hook is only documented once.
See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28207 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 06:13:15 +00:00
Mark Jaquith
c4dd499979 Use '— Select —' instead of '-- Select --' for nav menus. Looks nicer.
see #27878

git-svn-id: https://develop.svn.wordpress.org/trunk@28205 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 00:34:20 +00:00
Mark Jaquith
65b0b658d7 Force users to choose a nav menu in the custom nav menu widget, for a better customizer UX
Before, they had to make a dummy change to get it to render. Now they
are made to choose a nav menu from the dropdown, which feels more
natural.

fixes #27878 for trunk. props westonruter

git-svn-id: https://develop.svn.wordpress.org/trunk@28197 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-24 20:44:32 +00:00
Dominik Schilling (ocean90)
0202625937 Recent Posts Widget: Use ob_end_flush() instead of ob_flush().
`ob_end_flush()` flushes the output buffer *and* turns output buffering off, same as `ob_get_flush()`.

props m_i_n.
see #28009 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@28195 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-24 19:47:09 +00:00
John Blackbourn
2d3568380b Remove some unnecessary abstraction introduced in [28191]. See #27985.
git-svn-id: https://develop.svn.wordpress.org/trunk@28194 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-24 11:54:31 +00:00
Andrew Ozz
d19f7a398e Ensure the editor height is saved properly, props jupiterwise, see #28000, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28193 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-24 04:10:51 +00:00
Andrew Ozz
fff29139b5 TinyMCE: update the 'paste' plugin to the latest dev. version. Included changes: 1b7c41cd7b and 7998b8025d. See #27909, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28192 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-24 00:58:13 +00:00
johnbillion
34b0686be1 Avoid an expensive attachment counting query on the post editing screen. See #27985, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28191 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-23 22:04:03 +00:00
Andrew Ozz
a6de675d14 TinyMCE: when adding a caption to an image that is in a paragraph with other text, move the caption node above the paragraph instead of below. See #27922, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28190 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-23 20:41:59 +00:00
Andrew Ozz
c602aac562 Drag/drop on the editor to upload: don't trigger the uploader when selected test is being dragged from one window to another. See #27880, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28189 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-23 20:34:43 +00:00
Andrew Ozz
a528be21ad Run WP_Editors::enqueue_scripts() on admin_print_footer_scripts priority 1 (later), instead of admin_footer. Fixes incompatibility with the customizer. Props feedmeastraycat, see #27853, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28187 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 22:40:33 +00:00
Andrew Ozz
5bbe3ef38d Fix cursor style for the resize handle of the editor, props avryl, see #27595, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28186 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 21:47:33 +00:00
Andrew Ozz
db22ae4e32 TinyMCE: fix the "active" state of the Link button when an image wrapped in a link is selected, see #27847, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28185 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-22 21:10:14 +00:00
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
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
Drew Jaynes (DrewAPicture)
93443ecd13 Inline documentation for hooks in wp-includes/media.php.
Props scottlee for the initial patch. Props kpdesign, DrewAPicture.
Fixes #27718.


git-svn-id: https://develop.svn.wordpress.org/trunk@28128 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 01:35:49 +00:00
Andrew Nacin
606bf33d10 About page design, first pass.
props melchoyce, ryelle.
see #27713.


git-svn-id: https://develop.svn.wordpress.org/trunk@28127 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 01:30:36 +00:00
Andrew Nacin
7ed14feff1 Theme Installer: Revert to proxying through PHP for WordPress.org API requests.
This is to ensure we have valid installation nonces, though we've run into this as a problem previously (see #27639, #27581, #27055).

A tad slower, but we gained speed in 3.9 by simplifying the request made to the API.

props ocean90.
fixes #27798.


git-svn-id: https://develop.svn.wordpress.org/trunk@28126 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-15 01:15:43 +00:00
Andrew Nacin
16490ce89c Image Details modal: Remember the last state of the advanced toggle.
props gcorne.
fixes #27366.


git-svn-id: https://develop.svn.wordpress.org/trunk@28125 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 23:55:04 +00:00
Andrew Nacin
a8efcb993f Customizer: Properly handle widget settings when activating a previewed theme.
props westonruter, ocean90, gcorne.
fixes #27767.


git-svn-id: https://develop.svn.wordpress.org/trunk@28124 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 22:45:40 +00:00
Andrew Nacin
b807ab4a34 Theme installer: Improve route handling and make ?theme= work.
props matveb.
fixes #27708.


git-svn-id: https://develop.svn.wordpress.org/trunk@28123 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 22:05:20 +00:00
Andrew Nacin
7960418895 Color scheme support for widget choosers.
props ocean90.
fixes #27793.


git-svn-id: https://develop.svn.wordpress.org/trunk@28122 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 20:21:14 +00:00
Drew Jaynes (DrewAPicture)
6a8889ea8c Inline documentation for hooks in wp-includes/class-wp-customize-widgets.php
Fixes #27531.


git-svn-id: https://develop.svn.wordpress.org/trunk@28117 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 18:40:29 +00:00
Andrew Ozz
cd356b6404 DFW:
- Add background color and remove the top border from the status bar (at the bottom).
- Fix spinner to always be next to the Save button.
- Remove width: auto; from .mce-fixed-width.
Fixes #27709

git-svn-id: https://develop.svn.wordpress.org/trunk@28116 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 08:14:01 +00:00
Andrew Nacin
32721b8347 Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
Reverts [27990] which did not fix it for authors and comment/ping status.

props dd32, DrewAPicture.
fixes #27792.


git-svn-id: https://develop.svn.wordpress.org/trunk@28113 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 07:47:10 +00:00
Andrew Nacin
e1c90794e5 TinyMCE: Always load translations, even in English, as we modify some strings.
Move a setting to after the translations filter, and remove unused strings.

see #24067.


git-svn-id: https://develop.svn.wordpress.org/trunk@28112 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 03:22:38 +00:00
Drew Jaynes (DrewAPicture)
7c57669ec2 Inline documentation for hooks in wp-includes/link-template.php.
Props johnbillion, DrewAPicture.
Fixes #27716.


git-svn-id: https://develop.svn.wordpress.org/trunk@28111 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 02:12:48 +00:00
Andrew Ozz
bff230b422 Plupload: restore the settings in media_upload_form(), see #27763
git-svn-id: https://develop.svn.wordpress.org/trunk@28110 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 00:40:45 +00:00
Drew Jaynes (DrewAPicture)
11f2a0dc31 Inline documentation for hooks in wp-includes/functions.php.
Props jesin, GaryJ.
Fixes #27715.


git-svn-id: https://develop.svn.wordpress.org/trunk@28109 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 00:19:37 +00:00
Andrew Nacin
5b4cd4b027 Plupload: Restore 3.8 handles and filenames to avoid breaking plugins.
fixes #27763.


git-svn-id: https://develop.svn.wordpress.org/trunk@28108 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-14 00:06:03 +00:00
Andrew Nacin
c43b8b063d Fix feature pointer RTL placement.
props SergeyBiryukov, ocean90.
fixes #27778.


git-svn-id: https://develop.svn.wordpress.org/trunk@28107 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 23:59:01 +00:00
Drew Jaynes (DrewAPicture)
d2e679179b Part II of inline documentation for hooks in wp-includes/post.php.
Documents all remaining hooks following [28041] and [28042]. Also updates the hash notation style for `wp_insert_post()`.

Props nacin for several hook descriptions.

Fixes #25376.


git-svn-id: https://develop.svn.wordpress.org/trunk@28106 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 23:05:20 +00:00
Andrew Nacin
e7524d0ba7 Theme install: Set a timeout and error message for API responses.
props ocean90.
fixes #27708.


git-svn-id: https://develop.svn.wordpress.org/trunk@28105 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 19:01:21 +00:00
Andrew Nacin
4c254d8a97 Themes screen: Fix RTL layout issue in Firefox.
props SergeyBiryukov.
fixes #27779.


git-svn-id: https://develop.svn.wordpress.org/trunk@28104 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:25:19 +00:00
Andrew Nacin
e22e40001d Don't auto-resize Quick Draft textarea in IE < 9. Avoids IE8 crash.
props morganestes.
fixes #27761.


git-svn-id: https://develop.svn.wordpress.org/trunk@28103 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:24:25 +00:00
Andrew Nacin
a343c6020a Custom header: Fix image ordering.
props ehg.
see #21785. fixes #27791.


git-svn-id: https://develop.svn.wordpress.org/trunk@28102 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:21:27 +00:00
Andrew Nacin
8e6a1f479b Customizer: Fix header image cropping when working with huge images. Affected Firefox in particular.
props ehg.
fixes #27790.


git-svn-id: https://develop.svn.wordpress.org/trunk@28101 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 18:19:55 +00:00
Andrew Nacin
e164ec2461 Customizer: Account for a sidebar with no container to which classes can be added.
props ocean90.
fixes #27780.


git-svn-id: https://develop.svn.wordpress.org/trunk@28100 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:40:07 +00:00
Andrew Nacin
f7d4569c8d Add context to string added in [28097].
props azaozz.
fixes #27785.


git-svn-id: https://develop.svn.wordpress.org/trunk@28099 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:34:13 +00:00
Andrew Nacin
ffba43a0d9 Fix feature pointer border when using a color scheme.
props ryelle.
see #27778.


git-svn-id: https://develop.svn.wordpress.org/trunk@28098 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:32:39 +00:00
Andrew Nacin
42f6f43c35 Add missing 'Address' string for TinyMCE.
props pavelevap, ocean90.
fixes #27785.


git-svn-id: https://develop.svn.wordpress.org/trunk@28097 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:20:54 +00:00
Andrew Nacin
985727f256 RTL for login screen.
props yoavf.
fixes #27784.


git-svn-id: https://develop.svn.wordpress.org/trunk@28096 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 16:05:16 +00:00
Andrew Ozz
07885ba6c9 Add hooks to the wpeditimage tinymce plugin and to the image details portion of the media modal.
- Add wp.media.events which is intended to be a global media event bus.
- Add a post-render event to the ImageDetails view that third-party code can leverage to add subviews.
- Performance improvement for the initialization of the PostImage model.
- A bit more markup to the image details template to make it easier to add a view to the advanced options.
Props gcorne, fixes #27698

git-svn-id: https://develop.svn.wordpress.org/trunk@28095 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 04:01:53 +00:00
Andrew Ozz
3396375d47 RTL for TinyMCE:
- Add _dir: 'rtl' to the TinyMCE translation object.
- Fix editor.css for RTL.
- Fix the Edit and Delete buttons position for wpview and images.
- For _mce_set_direction(), update documentation and fix adding the 'ltr' button.
Fixes #27773

git-svn-id: https://develop.svn.wordpress.org/trunk@28094 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-13 00:22:56 +00:00
Andrew Nacin
7a25da5240 The widgets pointer requires the edit_theme_options capability.
(It's hypothetically possible to have only switch_themes.)

see #27777.


git-svn-id: https://develop.svn.wordpress.org/trunk@28093 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:52:35 +00:00
Andrew Nacin
a9b0b8cd13 Translate another About string and use _e(). see #27713.
git-svn-id: https://develop.svn.wordpress.org/trunk@28092 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:51:56 +00:00
Andrew Nacin
36f7e292d2 Add an explanation for 'Paste from Word' in the 'Paste from Text' dialog.
fixes #27777. see #27160.


git-svn-id: https://develop.svn.wordpress.org/trunk@28091 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:47:59 +00:00
Andrew Nacin
863116a5d2 Add a feature pointer for widgets in the customizer in 3.9. Remove older pointers from 3.3 and 3.4.
see #27777.


git-svn-id: https://develop.svn.wordpress.org/trunk@28090 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:47:12 +00:00
Andrew Ozz
027f0872bd Update the TinyMCE paste plugin to the latest development version. It includes a fix for pasting from Word: removes inline comments and change tracking.
Changeset: f8cffdf342
Fixes #27771

git-svn-id: https://develop.svn.wordpress.org/trunk@28089 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 20:00:52 +00:00
Andrew Nacin
a1d4430fe0 About page: Translate all Under the Hood strings.
see #27713.


git-svn-id: https://develop.svn.wordpress.org/trunk@28088 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 19:38:49 +00:00
Andrew Nacin
aa08fb55ce User Query: Don't blindly re-append new meta queries for capabilities.
fixes #21119.


git-svn-id: https://develop.svn.wordpress.org/trunk@28087 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 19:03:56 +00:00
Andrew Nacin
9defa138a4 Custom Headers: Allow for longer strings.
props ehg.
see #27755.


git-svn-id: https://develop.svn.wordpress.org/trunk@28086 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 18:39:46 +00:00
Andrew Nacin
6c0420348e Update $_old_files for 3.9. see #27775.
git-svn-id: https://develop.svn.wordpress.org/trunk@28085 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 18:26:25 +00:00
Andrew Ozz
17a90fff8b TinyMCE wpViews:
- Prevent undo steps from being added when the body of a wpview changes.
- Add unbind() to handle cleanup on DOM rebuilding in TinyMCE.
- Ensure that MediaElement's cleanup routine is run on every player in all instances of the editor.
- Initialize the players after some delay to ensure CSS is loaded.
Props gcorne and wonderboymusic, fixes #27389

git-svn-id: https://develop.svn.wordpress.org/trunk@28084 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 00:45:48 +00:00
Drew Jaynes (DrewAPicture)
b5612f8b80 Priority fixes for various existing hook documentation.
Props kpdesign.
See #26869


git-svn-id: https://develop.svn.wordpress.org/trunk@28083 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-12 00:00:32 +00:00
Andrew Nacin
8f0329b452 Translate custom header customize control strings. Remove final added before beta to see what breakage we might cause by refactoring this class.
see #21785. fixes #27738.


git-svn-id: https://develop.svn.wordpress.org/trunk@28082 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 23:24:32 +00:00
Andrew Ozz
8aacd10a8c Don't include the non-minified tinymce.js in /build. Load it when running from /src, else load wp-tinymce.js.gz (production) or tinymce.min.js (SCRIPT_DEBUG). Props nacin, fixes #27739
git-svn-id: https://develop.svn.wordpress.org/trunk@28081 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 22:16:01 +00:00
Andrew Ozz
33e687ca57 Add the new modlas styling to the importer details Thickbox on Tools -> Import. Props ocean90, fixes #26952
git-svn-id: https://develop.svn.wordpress.org/trunk@28080 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 21:49:18 +00:00
Andrew Ozz
2bde9b5b56 Fix color of disabled buttons in non-default color schemes, props ryelle, fixes #27759
git-svn-id: https://develop.svn.wordpress.org/trunk@28079 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 21:34:14 +00:00
Andrew Nacin
2d9949bf91 Account for new cropping settings in the image editor.
props Otto42, SergeyBiryukov.
fixes #19393.


git-svn-id: https://develop.svn.wordpress.org/trunk@28072 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 03:09:35 +00:00
Andrew Nacin
5dd9108e48 Editor: Ensure the link dialog does not display when styles are missing.
props mattheu.
fixes #27605.


git-svn-id: https://develop.svn.wordpress.org/trunk@28071 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-11 03:08:23 +00:00
Andrew Ozz
d3b4c2359a Fix typo in var definition in [28069], see #27750
git-svn-id: https://develop.svn.wordpress.org/trunk@28070 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 22:13:11 +00:00
Andrew Ozz
416b8e348f Fix tabbing out of the title field on Media -> Edit Media screen, fixes #27750
git-svn-id: https://develop.svn.wordpress.org/trunk@28069 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 22:09:50 +00:00
Scott Taylor
824830ca01 Bump MediaElement.js to 2.14.2. Release Notes: 743f446523.
Fixes #27582.



git-svn-id: https://develop.svn.wordpress.org/trunk@28068 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:31:24 +00:00
Andrew Ozz
2883034c6a Update TinyMCE to the current development version, 4.0.21.1. Fixes #27744
git-svn-id: https://develop.svn.wordpress.org/trunk@28066 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:08:41 +00:00
Andrew Nacin
3e6d8864a9 XML-RPC: Fix bracing of conditionals around doc blocks.
props redsweater, DrewAPicture.
fixes #27506.


git-svn-id: https://develop.svn.wordpress.org/trunk@28065 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-10 21:03:29 +00:00
Andrew Nacin
eef7258ca6 Update license copyright year to 2014.
fixes #27728.


git-svn-id: https://develop.svn.wordpress.org/trunk@28064 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-09 23:49:05 +00:00
Andrew Ozz
c90a2a5d3b TinyMCE Views in IE8 and 7: change deselect event only for old IE, props gcorne, fixes #27546
git-svn-id: https://develop.svn.wordpress.org/trunk@28063 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-09 15:28:17 +00:00
Andrew Ozz
b253355d2c Fix TinyMCE Views in IE8 and 7:
- Add fallback background images for dashicons.
- Fix hiding the clipboard while still allowing the contents to be selected.
- Work around lack of border-box in gallery styles.
(Includes precommit cleanup for theme.js)
Props gcorne, fixes 27546

git-svn-id: https://develop.svn.wordpress.org/trunk@28062 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-09 00:57:46 +00:00
Andrew Ozz
0d6b3f3e3f TinyMCE: make sure vertical resizing and menubar show/hide are set to default for each instance, fixes #27724
git-svn-id: https://develop.svn.wordpress.org/trunk@28059 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:57:18 +00:00
Andrew Nacin
244eca7982 3.9-RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@28058 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:18:03 +00:00
Andrew Nacin
3234ade164 Harden HMAC verification. props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@28053 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 18:05:42 +00:00
Andrew Nacin
bef5bdc86a 3.9 about page text, rough cut.
props markjaquith, nacin.
see #27713.


git-svn-id: https://develop.svn.wordpress.org/trunk@28052 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 17:46:48 +00:00
Andrew Nacin
402bb6208b Don't show featured images for image attachments. Remove abstractions for now.
fixes #27673.


git-svn-id: https://develop.svn.wordpress.org/trunk@28051 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 17:39:58 +00:00
Andrew Nacin
248151298c Escape playlist data in templates.
props wonderboymusic.
fixes #27710.


git-svn-id: https://develop.svn.wordpress.org/trunk@28050 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 17:39:06 +00:00
Andrew Nacin
9fab4162f6 Theme installer keyboard fixes. Updates [28033] and [28036].
props matveb.
see #27521.


git-svn-id: https://develop.svn.wordpress.org/trunk@28049 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 16:23:26 +00:00
Scott Taylor
468c9d2ac7 Restore GalleryAdd() and GalleryEdit() in media-views.js to ensure back-compat.
See [27362].



git-svn-id: https://develop.svn.wordpress.org/trunk@28048 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 15:53:42 +00:00
Dominik Schilling (ocean90)
b48bc8e7d3 Theme Installer: Prevent default events for "Upload Theme" and "Browse" buttons.
see #27055.

git-svn-id: https://develop.svn.wordpress.org/trunk@28047 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 12:34:10 +00:00
Dominik Schilling (ocean90)
82ac1009c4 Move toolbar declaration after the :visible check, like it was before [28019].
props kovshenin.
fixes #24859.

git-svn-id: https://develop.svn.wordpress.org/trunk@28046 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 11:20:34 +00:00
Andrew Ozz
0e44baa89e Precommit cleanup for theme.js, editor.css amd wpdialogs/plugin.js, See #27055, #26907, #16284
git-svn-id: https://develop.svn.wordpress.org/trunk@28045 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 08:28:57 +00:00
Dominik Schilling (ocean90)
ff78684898 Widget Customizer: Fix widget filtering.
props westonruter.
fixes #27451.

git-svn-id: https://develop.svn.wordpress.org/trunk@28044 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 08:11:33 +00:00
Andrew Ozz
61d17c2163 DFW:
- Move the word count and "Just Write" to a fixed bar at the bottom.
- Fix responsive mode to 480px. Narrower screens will have a scroll bar.
- Hide the Help button on screens < 480px, move the Save button to the right, make it bigger to match the others, and other responsive mode fixes.
Fixes #26907, see #27709

git-svn-id: https://develop.svn.wordpress.org/trunk@28043 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 07:48:55 +00:00
Drew Jaynes (DrewAPicture)
54e59a0290 Clarify documentation for hooks in sanitize_post_field().
* `edit_post_{$field}` pairs with `edit_{$field}`
* `pre_post_{$field}` pairs with `pre_{$field}`
* `post_{$field}` pairs with `{$field}`

As the above pairs' docs are unnecessarily duplicative, the second sets of docs have been removed. Also, the "duplicates" are purposely not marked as such in this case as the hook names differ. Also remove `@deprecated` tags mistakenly left in in [28041].

See #25376.


git-svn-id: https://develop.svn.wordpress.org/trunk@28042 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 07:40:30 +00:00
Drew Jaynes (DrewAPicture)
a3d04ec9ed Part I of inline documenation for hooks in wp-includes/post.php.
Adds docs for the following hooks:
* `get_attached_file`
* `update_attached_file`
* `_wp_relative_upload_path`
* `post_type_labels_{$post_type}`
* `edit_{$field}`
* `{$field_no_prefix}_edit_pre`
* `edit_post_{$field}`
* `pre_{$field}`
* `{$field_no_prefix}_save_pre`
* `pre_post_{$field}`
* `{$field}_pre`
* `$field`
* `post_{$field}`
* `wp_count_posts`
* `wp_count_attachments`
* `post_mime_types`
* `wp_insert_post_empty_content`

See #25376.


git-svn-id: https://develop.svn.wordpress.org/trunk@28041 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 06:48:32 +00:00
Drew Jaynes (DrewAPicture)
93b19f682e Inline documentation for hooks in wp-admin/includes/class-wp-upgrader-skins.php.
Fixes #27711.


git-svn-id: https://develop.svn.wordpress.org/trunk@28040 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 06:25:56 +00:00
Andrew Nacin
92381845b8 Media Templates: More escaping rather than interpolation. see #21785.
git-svn-id: https://develop.svn.wordpress.org/trunk@28039 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 05:27:44 +00:00
Andrew Nacin
24c0c60802 Theme Installer: Show 'Preview' button for installed themes.
props adamsilverstein.
see #27055, see #27708.


git-svn-id: https://develop.svn.wordpress.org/trunk@28038 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:37:37 +00:00
Andrew Nacin
d5c3a966be Theme Installer: Combine 'Layout' and 'Columns' filters so 'Features' can span two columns.
see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@28037 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:30:01 +00:00
Andrew Nacin
62b57b3b1f Theme Installer: Left/right arrow keys in the overlay.
props adamsilverstein.
see #27521.


git-svn-id: https://develop.svn.wordpress.org/trunk@28036 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:12:44 +00:00
nacin
1478afb236 Theme Installer: Use 'browse' instead of 'sort' for routes.
see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@28035 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:12:02 +00:00
Andrew Nacin
0cff2558aa Widget Customizer: Fix incorrect replacement in [27995].
props westonruter.
fixes #27690.


git-svn-id: https://develop.svn.wordpress.org/trunk@28034 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:02:07 +00:00
Andrew Nacin
b47c6d0746 Theme Installer: Disable prev/next buttons on first/last themes, add Esc handling, use IDs.
props adamsilverstein, DH-Shredder.
fixes #27521.


git-svn-id: https://develop.svn.wordpress.org/trunk@28033 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 03:57:01 +00:00
Andrew Nacin
288b1fd4f3 Nuke the TinyMCE help dialog as it is duplicated by help tabs. This leaves just Keyboard Shortcuts.
fixes #27100.


git-svn-id: https://develop.svn.wordpress.org/trunk@28032 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 02:31:02 +00:00
Andrew Nacin
9875f51f1f Header Images: Add suggested dimensions to the media workflow.
This updates [28030] to the latest patch.

props gcorne.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@28031 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:56:42 +00:00
Andrew Nacin
d29a5cee5f Header Images: Add suggested dimensions to the media workflow.
props ehg, gcorne.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@28030 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:54:44 +00:00
Andrew Nacin
1fa68e490b Expose toolbar keyboard shortcut in Help documentation for TinyMCE.
props joedolson, jorbin.
fixes #27024.


git-svn-id: https://develop.svn.wordpress.org/trunk@28029 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:38:42 +00:00
Andrew Nacin
e0989568d2 TinyMCE help: Break up strings changed in [28027] for ease of changing later.
Restores a not inaccurate paragraph to reduce churn.

see #27100.


git-svn-id: https://develop.svn.wordpress.org/trunk@28028 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:18:15 +00:00
Andrew Ozz
4360d117e2 TinyMCE help modal:
- Don't load the old tiny_mce_popup.js.
- Add the shortcut for <code> and the second shortcut for link to the shortcuts listing.
- Update some of the text.
See #27100

git-svn-id: https://develop.svn.wordpress.org/trunk@28027 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:52:55 +00:00
Drew Jaynes (DrewAPicture)
c386c17457 Improve hook docs for the wp_enqueue_editor hook, added in 3.9.
See #16284, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28026 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:08:46 +00:00
Andrew Nacin
bcc41afd37 Theme Installer: Handle currently installed themes, add search route, let prev/next refresh collections.
props matveb.
see #27055. fixes #27695.


git-svn-id: https://develop.svn.wordpress.org/trunk@28025 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:03:05 +00:00
Andrew Ozz
e28f610ead Fix typo and add more text to the error shown when 'wpdialogs' is not enqueued. Add 'wp_enqueue_editor' action fired when scripts and styles for the editor are being enqueued, fixes #16284
git-svn-id: https://develop.svn.wordpress.org/trunk@28024 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:54:13 +00:00
Scott Taylor
0d6acf5b5b Make playlist tracks keyboard-accessible.
Fixes #27644.



git-svn-id: https://develop.svn.wordpress.org/trunk@28023 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:27:06 +00:00
Andrew Nacin
82bc9c1142 Rename USE_EXT_MYSQL to WP_USE_EXT_MYSQL. see #21663.
git-svn-id: https://develop.svn.wordpress.org/trunk@28022 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:26:19 +00:00
Andrew Nacin
9bb79a1a97 Clean up deprecated format_to_post() docs. see #27700.
git-svn-id: https://develop.svn.wordpress.org/trunk@28021 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:23:00 +00:00
Drew Jaynes (DrewAPicture)
0bd5e6c02e More formatting for functions deprecated in 3.9.
Props kpdesign.
Fixes #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28020 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:16:37 +00:00
Helen Hou-Sandi
784d1dc9bf Only show the media library loading spinner if we're scrolled toward the bottom. Prevents the spinner from flashing a second time when first loading the library due to a second query firing after initial load.
props kovshenin. fixes #24859.


git-svn-id: https://develop.svn.wordpress.org/trunk@28019 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:14:01 +00:00
Drew Jaynes (DrewAPicture)
8b9371e915 Even deprecated functions can use a little PHPDoc formatting, time to time.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28018 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:11:55 +00:00
Drew Jaynes (DrewAPicture)
13d5b7c461 Improve hook docs for the resetpass_form hook added in 3.9.
See #21044, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28017 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:05:51 +00:00
Drew Jaynes (DrewAPicture)
aba414af7e PHPDoc fixes for functionality in wp-includes/wp-db.php added in 3.9.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28016 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:01:37 +00:00
Drew Jaynes (DrewAPicture)
7736833039 PHPDoc fixes for wp_validate_logged_in_cookie(), introduced in 3.9.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28015 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:43:00 +00:00
Drew Jaynes (DrewAPicture)
ef4d73dafc Fix PHPDoc formatting for WP_Rewrite::add_endpoint().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28014 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:38:34 +00:00
Dominik Schilling (ocean90)
c80074d551 Widget Customizer: Update icons to new Dashicons, part 2.
props Michael Arestad.
fixes #27400.

git-svn-id: https://develop.svn.wordpress.org/trunk@28013 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:36:52 +00:00
Andrew Ozz
5706a463bd TinyMCE: show an error in the console when a plugin attempts to use the 'wpdialogs' plugin but wpdialog.js is not enqueued, fixes #16284
git-svn-id: https://develop.svn.wordpress.org/trunk@28012 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:34:18 +00:00
Drew Jaynes (DrewAPicture)
f96adcea2d Add a missing @since 3.9.0 to the PHPDoc for wp_register_plugin_realpath().
See #16953, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28011 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:33:30 +00:00
Drew Jaynes (DrewAPicture)
18d6713716 Improve inline documentation for functionality in wp-includes/plugin.php added in 3.9.
See #14994, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28010 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:29:04 +00:00
Andrew Nacin
55d6cc4e1d Formally deprecate wpmu_current_site().
props jeremyfelt.
fixes #27702.


git-svn-id: https://develop.svn.wordpress.org/trunk@28009 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:27:13 +00:00
nacin
5404d9933f Gallery Views: Avoid JS errors when image attachments lack metadata.
props gcorne.
fixes #27691.


git-svn-id: https://develop.svn.wordpress.org/trunk@28008 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:24:02 +00:00
Drew Jaynes (DrewAPicture)
c765ed8832 Inline documentation fixes related to the determine_current_user filter
See #26706, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28007 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:17:44 +00:00
Drew Jaynes (DrewAPicture)
372e6c5c94 Inline documentation improvements in wp-includes/ms-load.php for 3.9 functionality.
Clarifies some mixed type parameters, spacing and comment style, and language fixes.

See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28006 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:58:11 +00:00
Dominik Schilling (ocean90)
6b007e8345 Widget Customizer: Update icons to new Dashicons.
props melchoyce.
see #27400.

git-svn-id: https://develop.svn.wordpress.org/trunk@28005 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:49:40 +00:00
Drew Jaynes (DrewAPicture)
9131bc6cbf General PHPDoc improvements in wp-includes/media.php for 3.9 functionality.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28004 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:37:17 +00:00
Drew Jaynes (DrewAPicture)
3011b3efef Space vs tab in function descriptions for wp_underscore_audio_template() and wp_underscore_video_template().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28003 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:28:05 +00:00
Andrew Nacin
f9e150c068 wpdb: Don't pass a second argument to mysqli_fetch_field().
props pento.
fixes #27693.


git-svn-id: https://develop.svn.wordpress.org/trunk@28002 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:21:16 +00:00
DrewAPicture
9415376529 Improve PHPDoc formatting for get_the_permalink().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28001 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:21:02 +00:00
Drew Jaynes (DrewAPicture)
c48069343d Use suggested language conventions in the hook docs description for the theme_page_templates filter.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28000 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:17:55 +00:00
Andrew Nacin
e724e1b06f Don't try to resolve symlinks for single-file plugins. plugins_url() should not be used in this context anyway.
props rmccue.
fixes #16953.


git-svn-id: https://develop.svn.wordpress.org/trunk@27999 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:14:34 +00:00
Drew Jaynes (DrewAPicture)
4d4921a9ac Use the correct parameter variables in the hook docs for wp_upgrade.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@27998 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:13:00 +00:00
Drew Jaynes (DrewAPicture)
3b7d881f3c Align parameters in the hook docs for the attachment_thumbnail_args filter.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@27997 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:10:01 +00:00
Drew Jaynes (DrewAPicture)
95294a170e Add missing parameter descriptions to the PHPDocs for WP_Upgrader_Skin::decrement_update_count() and Bulk_Upgrader_Skin::decrement_update_count().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@27996 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:01:35 +00:00
Dominik Schilling (ocean90)
6e3b6066e5 Widget Customizer: Cleanup wp.customize.Widgets.SidebarControl.
see #27690.

git-svn-id: https://develop.svn.wordpress.org/trunk@27995 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:59:49 +00:00
Andrew Nacin
06152cbe6f Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
props kovshenin.
see [27964], see #27452.


git-svn-id: https://develop.svn.wordpress.org/trunk@27990 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 17:58:37 +00:00
Dominik Schilling (ocean90)
51d6831f14 Update Dashicons.
New icons: `.dashicons-external`, `.dashicons-editor-contract` and `.dashicons-universal-access-alt`.
Updated icons: `.dashicons-code`, `.dashicons-universal-access`, `.dashicons-arrow-x-alt` and `.dashicons-arrow-x-alt2`.
Restores also `.dashicons-post-trash` as an alias for `.dashicons-trash`, which is the new one.

props melchoyce, empireoflight.
see #26936.

git-svn-id: https://develop.svn.wordpress.org/trunk@27989 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 17:51:44 +00:00
Dominik Schilling (ocean90)
ce4961c9f7 Widget Customizer: Cleanup wp.customize.Widgets.WidgetControl.
see #27690.

git-svn-id: https://develop.svn.wordpress.org/trunk@27988 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 16:31:52 +00:00
Scott Taylor
4322e0c50a Browsers other than Firefox need a timeout when parsing audio and video shortcodes into MCE views.
See [27655].



git-svn-id: https://develop.svn.wordpress.org/trunk@27987 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 15:11:04 +00:00
Dominik Schilling (ocean90)
18d485fb32 Widget Customizer: Make the available widgets panel a Backbone view.
see #27690.

git-svn-id: https://develop.svn.wordpress.org/trunk@27986 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 14:09:53 +00:00
Dominik Schilling (ocean90)
da677f34aa Widget Customizer: Move WidgetCustomizer to wp.customize.Widgets. First pass.
see #27690.

git-svn-id: https://develop.svn.wordpress.org/trunk@27985 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 09:03:18 +00:00
Dominik Schilling (ocean90)
b0ba84a25c Remove trailing whitespace from [27982].
git-svn-id: https://develop.svn.wordpress.org/trunk@27984 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 09:02:06 +00:00
Andrew Ozz
8b3f6ef9fa TinyMCE: couple more small css tweaks for the menubar and tabs in native modals, see #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27983 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 07:10:14 +00:00
Andrew Ozz
658b5a5e15 Add a note that wpView is "experimental", see #26959
git-svn-id: https://develop.svn.wordpress.org/trunk@27982 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:58:58 +00:00
Andrew Ozz
9c3da74353 Heartbeat: no longer "experimental", see #25272
git-svn-id: https://develop.svn.wordpress.org/trunk@27981 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:32:52 +00:00
Scott Taylor
f48e74e789 Only set the poster attribute automatically for videos when the image does not match the default mime-type icon. wp_prepare_attachment_for_js() is used in multiple contexts. This context requires disambiguation.
See [27659].



git-svn-id: https://develop.svn.wordpress.org/trunk@27980 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:19:51 +00:00
Scott Taylor
d11d19a2b7 [27640] supported a caption for audio and video shortcodes as part of a UX iteration for the related MCE views. These captions have since be excluded, so the extra code should be removed (it was there for this sole reason).
See #27320.



git-svn-id: https://develop.svn.wordpress.org/trunk@27979 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 06:12:06 +00:00
Andrew Ozz
53ce07bf36 TinyMCE:
- Tighten up button styles, add :hover for .mce-active buttons.
- Pad only the first toolbar row and remove the padding in both toolbars if the editor doesn't have a DFW mode.
Part props avryl, see #27279

git-svn-id: https://develop.svn.wordpress.org/trunk@27978 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 01:09:38 +00:00
Andrew Nacin
3fbe1ba7b7 Apply checks in [27964] to wp_write_post(), which is unused and due for dismantling and deprecation.
see #27452.


git-svn-id: https://develop.svn.wordpress.org/trunk@27975 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 22:07:02 +00:00
Scott Taylor
5d3e7be690 When dynamically instantiating MediaElementPlayer instances in JS, preload="metadata" is extremely wonky. preload="none" lets the file play right away.
This has already been addressed for audio|video shortcodes, but also needs to be the case for playlists. When loading a playlist from a DOM cache or via AJAX, and when the sources match those already pre-loaded, the browser will sometimes donkey-punch the HTTP request for the first cached track selected.

Set `preload="none"` for the empty `<audio|video>` tag for playlists.

See commits related to #26779.



git-svn-id: https://develop.svn.wordpress.org/trunk@27974 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 21:33:00 +00:00
Dominik Schilling (ocean90)
e4d4e0020b Widget Customizer: Remove leading/trailing whitespace to prevent jQuery migrate warning.
props gcorne.
fixes #27689.

git-svn-id: https://develop.svn.wordpress.org/trunk@27973 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 20:39:33 +00:00
Dominik Schilling (ocean90)
020e3ef811 Update TinyMCE help for pasting content.
props chiragswadia.
see #27100.

git-svn-id: https://develop.svn.wordpress.org/trunk@27972 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:45:07 +00:00
Dominik Schilling (ocean90)
0e8bd0b455 Header images: Revert unnecessary tabindex="0" from [27947].
see #21785.

git-svn-id: https://develop.svn.wordpress.org/trunk@27971 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:35:24 +00:00
Dominik Schilling (ocean90)
2f0a34dbb8 Header images: Improve accessibility of Randomize buttons.
props ehg.
see #27598, #21785.

git-svn-id: https://develop.svn.wordpress.org/trunk@27970 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:27:40 +00:00
Dominik Schilling (ocean90)
ab8f7f7afd Widgets: Trigger jQuery events for widget updates.
* `widget-added` when a widget is added to a sidebar
* `widget-updated` when a widget is updated
A jQuery object of the widget is passed along to the event handler. Same events are used in the Widget Customizer, see [27909].

fixes #19675.

git-svn-id: https://develop.svn.wordpress.org/trunk@27969 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:05:03 +00:00
Dominik Schilling (ocean90)
8708a44d4a Widget Customizer: Minor code cleanup.
* Remove type hinting from `WP_Customize_Widgets`
* Rename `inject_preview_css` to `print_preview_css`
* Remove stray `@todo`

fixes #27534.

git-svn-id: https://develop.svn.wordpress.org/trunk@27968 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 18:53:31 +00:00
Dominik Schilling (ocean90)
bccc4ea750 Fix whitespace around $GLOBALS['_wp_deprecated_widgets_callbacks'] .
git-svn-id: https://develop.svn.wordpress.org/trunk@27967 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 18:49:48 +00:00
Dominik Schilling (ocean90)
a2c020e068 WP_Widget: Introduce is_preview() method.
With the Widget Customizer it's possible that previewed widgets can leak data outside of Customizer, when the widget uses the cache API.
The Customizer calls the regular update callback which should already refresh the cache. Since cache additions aren't blocked yet the cache can be filled with preview data.
To prevent this issue `WP_Widget::is_preview()` will return true, when `$wp_customize->is_preview()` returns true. If `is_preview()` is true, cache additions are suspended via `wp_suspend_cache_addition()`. Make sure your object cache drop-in has implemented `wp_suspend_cache_addition()`.

`is_preview()` can/should also be used inside `WP_Widget::widget()`, see WP_Widget_Recent_Posts or WP_Widget_Recent_Comments for examples.

For more info see IRC logs: http://irclogs.wordpress.org/chanlog.php?channel=wordpress-dev&day=2014-04-02&sort=asc#m824279

props westonruter.
fixes #27538.

git-svn-id: https://develop.svn.wordpress.org/trunk@27966 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 18:47:46 +00:00
Drew Jaynes (DrewAPicture)
789305948e Inline documentation for remaining hooks in wp-admin/includes/upgrade.php.
Props jackreichert, vancoder.
Fixes #27646.


git-svn-id: https://develop.svn.wordpress.org/trunk@27965 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 22:29:41 +00:00
Andrew Nacin
14d96748c7 Better checks for contributors when saving posts.
props dd32, kovshenin, plocha.
see #27452.


git-svn-id: https://develop.svn.wordpress.org/trunk@27964 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 21:18:44 +00:00
Andrew Nacin
12f66b9859 Theme Installer: Separate API from an event handler to avoid issues where a false return value stops the event.
see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@27963 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:45:37 +00:00
Andrew Nacin
e40de50197 Theme Installer: Don't encode description entities/HTML.
props johnbillion.
fixes #27641.


git-svn-id: https://develop.svn.wordpress.org/trunk@27962 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:29:44 +00:00
Andrew Nacin
ba9e3d2bc3 Theme Installer: Use JSONP for api.wordpress.org requests.
fixes #27639.


git-svn-id: https://develop.svn.wordpress.org/trunk@27961 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:27:56 +00:00
Scott Taylor
1ff1343a82 Revert the changes made to data.title in playlist Underscore templates in [27869]. {{ data.title }} causes the title to be double-encoded on the front end.
See #27574.



git-svn-id: https://develop.svn.wordpress.org/trunk@27960 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:05:04 +00:00
Andrew Nacin
5863d7874d Theme Installer: Better responsive styles for feature filters.
props matveb.
fixes #27661.


git-svn-id: https://develop.svn.wordpress.org/trunk@27959 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:03:41 +00:00
Andrew Nacin
c4d09e4736 Theme Installer: Fix displaying of errors.
props SergeyBiryukov.
fixes #27640.


git-svn-id: https://develop.svn.wordpress.org/trunk@27958 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 19:25:20 +00:00
Andrew Nacin
631b55ac0b Don't pass variables by reference.
props markjaquith.
fixes #27656.


git-svn-id: https://develop.svn.wordpress.org/trunk@27957 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 18:16:45 +00:00
Andrew Nacin
84c4332b3e RTL: Fix taxonomy quick edit list alignment.
props SergeyBiryukov.
fixes #27629.


git-svn-id: https://develop.svn.wordpress.org/trunk@27956 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 18:13:11 +00:00
Dominik Schilling (ocean90)
8c28ef2b7c Fix typo in hook description for async_upload_{$type}.
git-svn-id: https://develop.svn.wordpress.org/trunk@27955 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 14:11:38 +00:00
Dominik Schilling (ocean90)
fc34a6e63e Customizer: Add height: auto; for select[multiple].
fixes #27662.

git-svn-id: https://develop.svn.wordpress.org/trunk@27954 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 13:11:39 +00:00
Sergey Biryukov
4a197c45a2 Avoid an undefined index notice in wp_http_validate_url().
props jesin.
fixes #27684.

git-svn-id: https://develop.svn.wordpress.org/trunk@27953 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 12:44:19 +00:00
Drew Jaynes (DrewAPicture)
6c7aabda19 Fix a typo in the PHPDoc description for the WP_Http_Curl->max_body_length property.
Props eightface.
Fixes #27681.


git-svn-id: https://develop.svn.wordpress.org/trunk@27952 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 05:47:54 +00:00
Andrew Ozz
30cdc10180 When autosaving a new post for the first time after a title was typed, cancel the autosave if the user is submitting the form. (Includes a precommit fix for customize-controls.css.) Props Nessworthy, davidmarichal, fixes #27657
git-svn-id: https://develop.svn.wordpress.org/trunk@27951 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 01:28:35 +00:00
Andrew Ozz
36f0a60829 Throw a user notice when the editor ID used for TinyMCE contains brackets, props nacin, fixes #27601
git-svn-id: https://develop.svn.wordpress.org/trunk@27950 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 01:10:19 +00:00
Andrew Ozz
548772fcc1 TinyMCE: update the default style for html5-captions, props obenland fixes #26642
git-svn-id: https://develop.svn.wordpress.org/trunk@27949 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 23:11:21 +00:00
Andrew Ozz
63bf25ec1f Edit image modal: check if full size exists before trying to use it for setting aspect ratio, props gcorne, see #27366
git-svn-id: https://develop.svn.wordpress.org/trunk@27948 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 18:00:04 +00:00
Andrew Nacin
6ec7a5a52b Header images: Accessibility and style improvements. Headers no longer jump around when chosen.
props mcsf, ehg.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27947 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:48:34 +00:00
Andrew Nacin
96e15acb2e Header images: Handle cropping failures.
props ehg.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27946 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:47:43 +00:00
Andrew Nacin
996a502103 Add missing space between strings.
props rachelbaker.
fixes #27597.


git-svn-id: https://develop.svn.wordpress.org/trunk@27945 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 13:16:15 +00:00
Andrew Ozz
48269a7c29 TinyMCE: add image backgrounds for more and nextpage tags (also jshint fix for theme.js). Fixes #27106
git-svn-id: https://develop.svn.wordpress.org/trunk@27944 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 05:22:47 +00:00
Drew Jaynes (DrewAPicture)
e9f0de0951 Remove a blank line and @global reference in the PHPDoc for comment_author_email_link().
Props norcross, ocean90.
Fixes #27655.


git-svn-id: https://develop.svn.wordpress.org/trunk@27943 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 04:35:20 +00:00
Andrew Ozz
ee33326f32 Edit image modal:
- Make the calculation of the aspect ratio more robust.
- Better getting of the image height and width.
Props gcorne, see #27366

git-svn-id: https://develop.svn.wordpress.org/trunk@27942 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 01:48:24 +00:00
Andrew Ozz
ec18e88dee TinyMCE: better calculation for editor height when switching Text to Visual and back. Add stopping of editor resizing when the mouse leaves the browser window. See #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27941 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 01:30:11 +00:00
Andrew Nacin
e8ad1fbf6c Theme Installer: Center spinner, remove plural string.
fixes #27581. see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@27940 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:45:13 +00:00
Sergey Biryukov
96563b4143 Clarify tooltips on Edit Image screen.
props siobhan.
fixes #27651.

git-svn-id: https://develop.svn.wordpress.org/trunk@27939 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:02:22 +00:00
Sergey Biryukov
a97e9018c4 Fix typo in verify_file_md5() description. see [25541].
props siobhan.
see #27651.

git-svn-id: https://develop.svn.wordpress.org/trunk@27938 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 00:02:12 +00:00
Andrew Nacin
b29ccb5656 Theme Installer: Fix sorting, counts, keyboard navigation; add prev/next to previews.
props matveb.
see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@27937 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:52:45 +00:00
Andrew Nacin
e73e290712 Themes: Hide 'Add New' with no JS. see #27055.
git-svn-id: https://develop.svn.wordpress.org/trunk@27936 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:05:01 +00:00
Andrew Nacin
ccb4f3714a Database: Fall back from ext/mysqli to ext/mysql if the connection fails.
This allows us to avoid breaking a site that works under ext/mysql but is misconfigured for ext/mysqli.

props pento.
see #21663.


git-svn-id: https://develop.svn.wordpress.org/trunk@27935 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 21:57:22 +00:00
Andrew Ozz
641f9f9a93 TinyMCE: improve setting disabled/enabled/activated states on the Unlink button, fixes #27309
git-svn-id: https://develop.svn.wordpress.org/trunk@27934 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 20:04:44 +00:00
Dominik Schilling (ocean90)
de2c9e23cf Plupload wrapper: Call init callback on PostInit event.
Fixes the background image uploader in Customizer, which was broken after [27316].

fixes #27620.

git-svn-id: https://develop.svn.wordpress.org/trunk@27933 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 19:43:53 +00:00
Dominik Schilling (ocean90)
d817c574a3 Fix styling for plugin update details Thickbox.
see #26952.

git-svn-id: https://develop.svn.wordpress.org/trunk@27932 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 14:07:42 +00:00
Sergey Biryukov
ed139644be Use multiplication sign instead of a colon for selection size when editing an image.
props siobhan.
fixes #27652.

git-svn-id: https://develop.svn.wordpress.org/trunk@27931 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 09:45:44 +00:00
Dion Hulse
ce76432676 Background Updates: Fix a PHP Warning caused by a Upgrader instance being passed into the Theme & Plugin $extra_stats parameter. See #27633
git-svn-id: https://develop.svn.wordpress.org/trunk@27928 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 05:32:02 +00:00
Andrew Ozz
f57853519f TinyMCE: update translatable strings, see #27453, #24067
git-svn-id: https://develop.svn.wordpress.org/trunk@27927 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 05:15:59 +00:00
Lance Willett
8dcec58f2a Twenty Thirteen and Fourteen: style to support the new HTML5 line-break-less galleries. Props obenland, see #27637.
git-svn-id: https://develop.svn.wordpress.org/trunk@27926 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 04:46:23 +00:00
Andrew Nacin
0faaacc7c8 Database: Add $allow_bail argument to wpdb::check_connection() to match the connect method.
props DrProtocols, pento.
fixes #27240.


git-svn-id: https://develop.svn.wordpress.org/trunk@27925 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 04:05:31 +00:00
Andrew Ozz
74ec183ee7 TinyMCE:
- Bring back loading of /langs/[locale].js and /langs/[locale]_dlg.js from PHP. Prevents errors with missing translation files when custom plugins use requireLangPack() without second argument.
- Back to using ISO 639-1 (two letter) locales as the locale is used as part of the translation file name.
See #24067, fixes #27610

git-svn-id: https://develop.svn.wordpress.org/trunk@27922 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 03:39:21 +00:00