Drew Jaynes (DrewAPicture)
815ccdf8f3
Wow. One more time with the typos.
...
I can, in fact, spell 'instance'.
See #27566 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27810 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:53:42 +00:00
Drew Jaynes (DrewAPicture)
01e30d23b4
Better description and fixed typo for _WP_Editors::parse_settings()
.
...
See [27808]. See #27566 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27809 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:50:12 +00:00
Drew Jaynes (DrewAPicture)
f36a1ab9b5
Convert wp_editor()
default arguments documentation to a hash notation in the _WP_Editors::parse_settings()
PHPDoc.
...
See #27566 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27808 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:45:54 +00:00
Drew Jaynes (DrewAPicture)
01ecedbb0d
Fix the wp_count_attachments()
PHPDoc to reflect that it returns an object, not array.
...
See #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27807 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:42:49 +00:00
Andrew Ozz
e50f30640e
Make DFW usable on touch devices: change the toolbar to two rows and keep it and borders visible. See #26907
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27806 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 04:39:04 +00:00
Helen Hou-Sandi
706b608000
Set baseline colors for the light playlist skin. props kwight. fixes #27562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27805 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:37:08 +00:00
Helen Hou-Sandi
90d45acbf7
Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27804 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:15:30 +00:00
Andrew Nacin
7a3c12d985
Add a unit test for shortlinks of a page on front.
...
see #26871 , see [27802].
git-svn-id: https://develop.svn.wordpress.org/trunk@27803 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:01:43 +00:00
Andrew Nacin
09d8fe1b09
Shortlinks: Use the home URL for a page on front.
...
This will result in 'Get Shortlink' hiding by default, as it will match the permalink (also the home URL).
fixes #26871 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27802 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:58:53 +00:00
Andrew Nacin
98ac075d8b
Always decode special characters for email subjects.
...
props tlovett1, jeremyfelt.
fixes #25346 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27801 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:43:04 +00:00
Andrew Nacin
65007189cf
Galleries: Avoid doubling up clearing br elements.
...
props drozdz.
fixes #25537 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27800 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:40:47 +00:00
Andrew Nacin
d686c73525
Pass walker arguments to get_comment_link() so pagination works when wp_list_comments() is used outside the comment template.
...
props SergeyBiryukov.
fixes #27007 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27799 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:37:33 +00:00
Dominik Schilling (ocean90)
4d57b96fb2
Widget Customizer: Improve behavior of bigger widgets.
...
* Support widgets which are higher than browsers viewport.
* Use widgets width as max-width.
* Don't animate the width of wide widgets to make them visible, instead fade them in/out.
* Fix Chrome flickerings while updating wide widgets.
props adamsilverstein, westonruter, ocean90.
see #27348 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27798 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 23:12:25 +00:00
Andrew Ozz
bbe59d0487
Edit Image modal:
...
- Bring back some of the advanced settings.
- Make the layout two-column for wider screens, remove the sidebar, and shrink the modal a bit.
- The image reflects the size as inserted in the post as long as it doesn't overflow the column and is not too tall. Changing the size to another intermediate will also update the image "preview."
- Rename "Edit Image" to "Edit Original" to try and better communicate that editing the image will modify the media library item not just the image inserted into the post that is being edited.
(updates two PNGs from precommit)
Props gcorne, see #27366
git-svn-id: https://develop.svn.wordpress.org/trunk@27797 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 22:40:06 +00:00
Scott Taylor
c411ad4cba
When labeling Show Tracklist
for playlist settings, use Show Video List
when the playlist is video.
...
Fixes #27535 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27796 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 21:09:39 +00:00
Scott Taylor
17e4da2bd8
Remove html5
theme support on tearDown()
so theme settings don't leak into other tests.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27795 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:54:08 +00:00
Scott Taylor
7b7e5305c7
In multi_resize()
image editor methods, assert that null
can only be passed for one of the arguments, not both. Add a lot more unit test assertions to ensure this.
...
Props pbearne, DH-Shredder.
Fixes #26823 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27794 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:39:08 +00:00
Scott Taylor
75ee98cb25
Remove tracknumbers
from the UI, can still be overridden as a playlist shortcode attribute.
...
See #27535 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27793 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:26:24 +00:00
Helen Hou-Sandi
1959b1379b
Affix the audio view toolbar to the bottom as opposed to the top of the view. Otherwise it's not accessible when the view is the first item in the content. Said views keep a newline underneath, so there's space for it to appear there instead. fixes #27548 , see #27320 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27792 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:09:38 +00:00
Andrew Ozz
7494a5acc5
Set the default font family to inherit (Open Sans) in all TinyMCE modals, change the cursor to pointer when hovering over Quicktags buttons. Props avryl, see #27279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27791 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 19:18:45 +00:00
Dominik Schilling (ocean90)
615e820420
Add some missing CSS prefixes. props grunt autoprefixer:core
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27790 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 19:16:35 +00:00
Scott Taylor
8312fca652
Make sure Playlist states that are audio
are marked as such with proper localized strings.
...
See #27554 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27789 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:36:03 +00:00
Scott Taylor
85de422f33
Move counting of attachments for audio/video to the backend, instead of using a reduce
function in JS.
...
See #27554 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27788 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:15:09 +00:00
Andrew Nacin
c0fcc61290
Avoid JS errors when edit image is not available, such as outside of post editing.
...
props gcorne.
fixes #27551 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27787 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:14:05 +00:00
Andrew Nacin
c5717f0aa1
Remove the TinyMCE image toolbar when the image is deleted via the keyboard.
...
props gcorne.
fixes #27527 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27786 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:06:13 +00:00
Scott Taylor
9384ee1bf3
There is no more video-playlist
shortcode. To use video, it is now [playlist type="video" ....]
. Also deleting core playlist styles. The style
attribute is still supported, defaulting to light
. Our core style support was 4-5 CSS rules.
...
See #27552 . Leaving open for comments and potential bugs.
git-svn-id: https://develop.svn.wordpress.org/trunk@27785 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:57:30 +00:00
Andrew Nacin
0098d5ab65
Color scheme support for the new theme installer UI.
...
props ryelle.
fixes #27522 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27784 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:55:34 +00:00
Andrew Nacin
ccf21196cb
Remove unused JS variables after [27770]. see #27013 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27783 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:31:00 +00:00
Andrew Nacin
9e29fa6ffd
Add post_parent to the private query vars list. Fixes detached media queries.
...
props SergeyBiryukov.
fixes #27532 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27782 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 16:36:40 +00:00
Andrew Nacin
1c19360c54
Preserve comments in Masonry shim. see [27780], see #27510 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27781 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:32:43 +00:00
Andrew Nacin
f89de2538c
Update minified jQuery Masonry shim. see [27779], see #27510 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27780 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:31:32 +00:00
Andrew Nacin
ca8351919e
Update Masonry v2/v3 shim from upstream.
...
props kovshenin.
see #27510 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27779 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:24:04 +00:00
Andrew Nacin
f4089c7a58
TinyMCE: Differentiate active and hover states for toolbar buttons like the kitchen sink.
...
This restores 3.8 behavior.
see #27279 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27778 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:18:18 +00:00
Helen Hou-Sandi
5db0c45614
MCE view controls:
...
* Move controls back over to the left, as they were before. Wide images and muscle memory have been causing frustration.
* Improve the experience and unify the UI of media view controls. Audio and video views now require an initial click to select before further interaction.
* CSS clean up and organization.
fixes #27320 , #27542 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27777 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:01:38 +00:00
Andrew Nacin
ab787f2f57
Proper IDs for the custom fields box.
...
props SergeyBiryukov.
fixes #14376 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27776 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 06:55:51 +00:00
nacin
06603dc6cc
Fix flyout menus on most mobile devices.
...
props ocean90.
fixes #26482 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27775 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 06:29:03 +00:00
Andrew Nacin
bc0bb40e5b
Comments: Update border color and help text.
...
props bcworkz.
fixes #26967 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27774 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 05:07:04 +00:00
Andrew Nacin
03257493c9
Editor: Fix line height on 'Drop files to upload'.
...
props Nao.
fixes #27541 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27773 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 04:07:33 +00:00
Helen Hou-Sandi
a4588b42a0
Make sure inputs in Press This have a type so they are styled appropriately. see #18380 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27772 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:38:48 +00:00
Helen Hou-Sandi
d8311a0296
Match TinyMCE modal form element focus styling to the admin. props paulwilde. see #27173 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27771 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:35:43 +00:00
Andrew Ozz
1c0d6827f5
Remove containment of scrolling inside the editor for now. See #27013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27770 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:34:25 +00:00
Andrew Nacin
50d900aa5f
Fix docs for hooks in deactivate_plugins() and activate_plugin(). see #27189 , #27188 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27769 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:01:29 +00:00
Andrew Nacin
a4844038e2
Revert [27738] as the patient exhibited side effects. see #23862 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27768 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 01:30:34 +00:00
Scott Taylor
115f291221
Use wp_parse_id_list()
when parsing exclude_tree
in get_pages()
. Add unit tests to ensure a URL string, array with string as value, and array with array as value for exclude_tree
can be used to specify multiple IDs.
...
Props cgaffga, roothorick, hakre, tbrams for patches across the years.
Fixes #9153 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27767 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 01:17:41 +00:00
Andrew Ozz
42055c8c93
Add aria-label to the DFW buttons, props joedolson, fixes #26555
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27766 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 01:13:44 +00:00
Helen Hou-Sandi
efec2a916c
Better, more consistent styling for plugin details Thickbox and TinyMCE help.
...
props avryl. fixes #26952 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27765 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:07:05 +00:00
Andrew Ozz
a8fe109dcd
Add the 'attachment_' prefix to caption IDs after editing, see #24409
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27764 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:06:50 +00:00
Lance Willett
29d54bcb78
Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697 ) and captions (see #26642 ). Props obenland, closes #27502 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27763 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:05:22 +00:00
Scott Taylor
3acb8fcdf6
The bulk editor and post format meta box should use the same checks for available post formats.
...
Props eightface.
Fixes #27187 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27762 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:05:14 +00:00
Andrew Nacin
28663b08e8
Remove select and input from wpautop()'s HTML blocks list.
...
props rachelbaker, DH-Shredder.
fixes #22230 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27761 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:00:17 +00:00