Commit Graph

25942 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
ed52ae7a3f Quick Draft: Use text cursor for description label.
fixes #27766.

git-svn-id: https://develop.svn.wordpress.org/trunk@28234 602fd350-edb4-49c9-b593-d223f7449a82
2014-05-01 13:12:01 +00:00
Andrew Nacin
790cb99b27 Shortcode JS: Avoid errors when an escaped shortcode includes a newline between brackets.
props gcorne.
props Clorith, jorbin for tests.
see #27907, for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@28223 602fd350-edb4-49c9-b593-d223f7449a82
2014-05-01 03:36:27 +00:00
Scott Taylor
5907cafe9e More descriptive docs for grunt jshint:core.
Props netweb, jorbin.
Fixes #27567.



git-svn-id: https://develop.svn.wordpress.org/trunk@28222 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-30 21:39:43 +00:00
Scott Taylor
b5eabbdcd2 Introduce default wp-cli.yml for core development.
Props westonruter.
Fixes #28036.



git-svn-id: https://develop.svn.wordpress.org/trunk@28221 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-30 21:35:18 +00:00
Andrew Nacin
e18e93bb80 Improve TinyMCE string for paste command browser support.
props ebinnion.
fixes #27988.


git-svn-id: https://develop.svn.wordpress.org/trunk@28220 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 21:19:35 +00:00
Dominik Schilling (ocean90)
a13b695fbd Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width.
Add tests.

see #27936 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@28219 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 20:24:28 +00:00
Dominik Schilling (ocean90)
fd26def119 Revert [28217].
Misfired commit for #27936.

git-svn-id: https://develop.svn.wordpress.org/trunk@28218 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-25 20:17:59 +00:00
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
Scott Taylor
67a0a4fd14 Add a conditional unit test for Tax Query - one query that does an IN query for categories with relation for tax_query set to AND. Weird queries are being produced.
See #27193. 



git-svn-id: https://develop.svn.wordpress.org/trunk@28188 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-23 17:40:25 +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