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
Andrew Nacin
814de88f7a
Themes screen: Use a normal error for WP_Theme errors.
...
see #27235 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27760 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 23:36:42 +00:00
Scott Taylor
4b21dcc825
Fix double avatars and JS errors when spamming/trashing comments.
...
Props avryl, SergeyBiryukov.
Fixes #27329 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27759 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 23:13:43 +00:00
Andrew Nacin
6b9eccd1f0
Add an .html4-captions class to the editor when HTML5 captions are not supported, for theme use.
...
see #26642 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27758 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 23:12:48 +00:00
Dominik Schilling (ocean90)
c6c9eae522
Customizer: Improve accessibility.
...
Prevent the form only from saving when enter is pressed on a select element or an input, which hasn't the button type.
props westonruter, ocean90.
fixes #26633 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27757 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:55:46 +00:00
Andrew Nacin
c55cdfa85d
Properly render the image details modal when the image references an invalid attachment.
...
props gcorne.
fixes #27537 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27756 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:55:10 +00:00
Scott Taylor
09c4928cf7
In wp_list_pages()
, add the current_page_item
class where applicable when used with a custom post type.
...
Adds a unit test.
Props nacin.
Fixes #17590 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27755 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:46:16 +00:00
Andrew Nacin
8aeeaf976a
Fix excluded_terms passed to get_adjacent_posts_rel_link().
...
props adelval.
fixes #22406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27754 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:31:04 +00:00
Dominik Schilling (ocean90)
723caec67c
Widget Customizer: First pass for inline docs.
...
props DrewAPicture.
see #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27753 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:28:49 +00:00
Helen Hou-Sandi
8380c63b84
Post lock dialog should not appear above the auth check login prompt.
...
props lkwdwrd. fixes #27263 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27752 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:23:52 +00:00
Scott Taylor
61228a9c0f
Don't display the "Show Artist Name in Tracklist" input in settings for Video Playlists.
...
See #27535 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27751 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:11:06 +00:00
Scott Taylor
6a7038062f
jshint
fixes for [27734].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27750 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 21:40:56 +00:00
Helen Hou-Sandi
3adce93956
Ensure active tabs have a background color to avoid any awkward bleed-through in case of overlap. props TobiasBg. fixes #27116 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27749 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 20:56:10 +00:00
Andrew Nacin
aeda501de1
Merge some theme update strings.
...
props pavelevap, yoavf.
fixes #25083 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27748 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 20:07:10 +00:00
Andrew Nacin
78b05bc236
Avoid JS errors before the commentReply script loads. Let's make this unobtrusive soon.
...
props aubreypwd.
fixes #24741 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27747 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 18:52:31 +00:00
Andrew Nacin
36496a3877
Revert [27166].
...
We should not be accounting for improper assignment of WP_Query properties.
fixes #26321 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27746 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 18:42:41 +00:00
Andrew Nacin
79ff680b93
WP_Theme: Return false from the display() method when get() fails.
...
Fixes a potential warning on the themes page when the active theme is deleted.
fixes #26873 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27745 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 18:21:45 +00:00
Andrew Nacin
ed0b146180
Themes screens: Bump to 20 items per page so it fills a high resolution display. see #26968 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27744 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 17:45:28 +00:00
Andrew Nacin
cce32aa627
Fix LTR field handling:
...
* Restore .ltr class lost in the conversion to RTL as a build process.
* Make email and url inputs always LTR.
* Set an email field on user-edit to be LTR.
props MikeHansenMe, yoavf for initial patches.
fixes #26824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27743 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 17:11:47 +00:00
Scott Taylor
befc57bc7c
Make the CSS selector for current playlist item <img>
more specific so the width is properly constrained.
...
Hide the `<audio>` element in the playlist to prevent a flicker when loading - MEjs hides the audio element anyway.
See #27525 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27742 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 16:50:52 +00:00
Helen Hou-Sandi
5af1c7497d
Better focus styles for form elements in the admin. These are purposefully not keyed to admin color schemes, as different colors could communicate a state like an error as opposed to focus. props celloexpressions. fixes #27173 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27741 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 16:05:34 +00:00
Andrew Nacin
d712de8d2f
Don't clip post titles in the dashboard activity widget as it hides direct links to comments.
...
props SergeyBiryukov.
fixes #27474 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27740 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 15:04:54 +00:00
Andrew Nacin
396404cd9b
Inline documentation for hooks in wp-includes/kses.php.
...
props siobhyb, DrewAPicture.
fixes #25800 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27739 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 14:56:04 +00:00
Andrew Nacin
0dea9b049f
WP class: Remove duplication of the post_type query var, also specified as a public QV.
...
props prettyboymp.
fixes #23862 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27738 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 14:44:59 +00:00
Andrew Nacin
c4b15e91bf
Upgrader skins: Strip tags before displaying error data.
...
fixes #25394 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27737 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 14:38:39 +00:00
Andrew Nacin
3843983ffa
Ensure proper slashing of the password on install.
...
This isn't the ideal fix, but it makes things work for now.
props nofearinc.
fixes #26573 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27736 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 14:30:26 +00:00
Scott Taylor
4a58d1a91b
Pass the default mime-type icon as the image for a track when a featured image is not selected for an item in a playlist. Image display in general can be toggled on/off in the modal via Playlist Settings.
...
Fixes #27525 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27735 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 12:44:42 +00:00
Scott Taylor
5745c4ab5b
Always localize mediaelement
when passing settings to the page via JSON. wp-mediaelement
only gets triggered for audio and video shortcodes, playlists need the path passed to the page as well, as they don't enqueue wp-mediaelement
.
...
See #27509 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27734 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 12:14:18 +00:00