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
Scott Taylor
323f9c0eb9
Don't make mce-view
a dependency for media-audiovideo
. Make media-audiovideo
and wp-playlist
dependencies for mce-view
and only enqueue mce-view
in the admin in wp_enqueue_media()
. MCE views don't need to be included when media is loaded on the front end.
...
Fixes #27509 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27733 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 12:10:21 +00:00
Drew Jaynes (DrewAPicture)
653e7f4be4
Inline documentation for hooks in wp-includes/script-loader.php.
...
Fixes #27520 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27732 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 05:51:45 +00:00
Drew Jaynes (DrewAPicture)
b66192abce
Inline documentation for hooks in wp-includes/class.wp-scripts.php.
...
Props kpdesign for a wording switcheroo.
Fixes #27518 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27731 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 05:47:16 +00:00
Drew Jaynes (DrewAPicture)
e111f0a5ec
Inline documentation for hooks in wp-includes/class-wp-xmlrpc-server.php.
...
Props kpdesign and DrewAPicture.
Fixes #27506 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27730 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 05:43:05 +00:00
Andrew Ozz
2dcbd7d3ca
TinyMCE: fix the More and Next Page tags behavior:
...
- Append them inside top level <p> tags.
- If the caret is not in a top level <p>, create new paragraph after the current top level tag.
- Do not change placement when edited in the Text editor.
See #27378
git-svn-id: https://develop.svn.wordpress.org/trunk@27729 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 02:07:23 +00:00
Andrew Ozz
f2c1fcbb65
Autosave: don't create the temporary permalink if the title field had focus (the user was typing a title) at the time of the last autosave. Fixes #27503
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27728 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 22:21:24 +00:00
Helen Hou-Sandi
8c47b1e188
Ensure buttons don't get overly tall in responsive views when a browser (oh, Firefox) enforces a line-height on buttons. props azaozz. fixes #27409 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27727 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:23:00 +00:00
Helen Hou-Sandi
ccc5f363c0
Use Dashicon-style images for mime type icons. Actually moving to Dashicons via the font can be explored later, but has theme/plugin implications and requires too many changes to make it for 3.9. props melchoyce for the icons. fixes #26650 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27726 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:09:34 +00:00
Andrew Nacin
101863ea1d
Network Admin: Case-insensitive comparisons for the network-site comparison in the bootstrap.
...
props jeremyfelt.
fixes #17168 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27725 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:06:26 +00:00
Andrew Nacin
51847e0c73
Multisite: Lowercase REQUEST_URI when matching paths.
...
props markjaquith, jeremyfelt.
fixes #26403 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27724 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:04:23 +00:00
Drew Jaynes (DrewAPicture)
9215e9f5ab
Fix a typo in the deleted_{$meta_type}_meta
hook description.
...
Props aliso.
Fixes #25826 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27723 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 20:33:21 +00:00
Andrew Nacin
80fcbd5cf7
Use dashicons in header images in the customizer.
...
props mcsf.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27722 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 19:50:19 +00:00
Andrew Nacin
e1c2e01c18
Update grunt-patch-wordpress to 0.2.0.
...
props jorbin, yoavf, sabreuse.
see #27023 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27721 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:47:24 +00:00
Scott Taylor
815adc833a
Popular tags' edit links should respect the current post type. Adds unit test.
...
Props mordauk, fahmiadib.
Fixes #25566 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27720 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:39:26 +00:00
Andrew Nacin
fbb2e1dc89
Transients: Allow a non-expiring transient to be updated with an expiry.
...
props shahpranaf, sandyr.
fixes #22807 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27719 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:22:49 +00:00
Andrew Nacin
07eb830a9b
Ensure the $path is trailing-slashed in domain_exists().
...
Adds tests for [27717].
props ejdanderson, ericmann.
fixes #20589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27718 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 17:39:08 +00:00
Andrew Nacin
89d81da181
Ensure the $path is trailing-slashed in domain_exists().
...
props ejdanderson, ericmann.
fixes #18209 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27717 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 17:31:37 +00:00
Andrew Nacin
5a60d9dc24
Theme compat: Move <head profile> to <link>.
...
props spmlucas.
fixes #24523 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27716 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 17:21:45 +00:00
Andrew Nacin
b2ad4105e3
Network Admin: Fix pagination on site-themes and site-users.
...
props kawauso, jeremyfelt.
fixes #17545 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27715 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:56:45 +00:00
Andrew Nacin
17c48086fb
3.9-beta2-27714
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27714 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:48:20 +00:00