Commit Graph

25394 Commits

Author SHA1 Message Date
Andrew Nacin
b2da716c11 Skipping placeholders in a string will only catch translators off guard.
see #27453, #27132.


git-svn-id: https://develop.svn.wordpress.org/trunk@27613 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:53:01 +00:00
Andrew Nacin
d3a873840e Remove two new strings from post_preview().
see #25272, #27453.


git-svn-id: https://develop.svn.wordpress.org/trunk@27612 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:48:28 +00:00
nacin
877e12ee33 Improve the autosave error message on nonce failure.
see #27453, #25272.


git-svn-id: https://develop.svn.wordpress.org/trunk@27611 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:46:02 +00:00
Andrew Nacin
a7a53e4417 Context for theme install strings. Untranslate an error message until it can be cleaned up.
see #27453, #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@27610 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:41:13 +00:00
Scott Taylor
54c541cfc6 Create a new file, media-audiovideo.js, to house all of the audio and video JS code in core.
UX Changes:
* Don't add a menu item for "Add Audio|Video Source"
* In the Audio|Video Details modal, add buttons and some suggestive text for adding alternate playback sources
* Don't show "Create Audio|Video Playlist" menu items until the user has uploaded audio or video files

See #27437.



git-svn-id: https://develop.svn.wordpress.org/trunk@27608 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:30:27 +00:00
Lance Willett
50f071e96c Twenty Thirteen: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. Closes #24839, props dannydehaan, joedolson, lancewillett, Frank Klein.
git-svn-id: https://develop.svn.wordpress.org/trunk@27607 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:28:36 +00:00
Lance Willett
931f1a0bce Twenty Twelve: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. See #24839, props dannydehaan, joedolson, lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@27606 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:28:24 +00:00
Andrew Nacin
137fe5a7dd Remove HTML from a new string. see #26709.
git-svn-id: https://develop.svn.wordpress.org/trunk@27605 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:27:37 +00:00
Andrew Nacin
a34bff3902 Combine two strings, using placeholders for filenames and avoiding HTML. see #27057.
git-svn-id: https://develop.svn.wordpress.org/trunk@27604 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 05:26:24 +00:00
Andrew Ozz
e342b6a3a5 TinyMCE: update to 4.0.20, see #24067
git-svn-id: https://develop.svn.wordpress.org/trunk@27603 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 04:46:01 +00:00
Andrew Ozz
04f3b0e0a5 TinyMCE show/hide toolbar row: fix the value for getUserSetting('hidetb'): 0 == hidden, 1 == visible, see #24067
git-svn-id: https://develop.svn.wordpress.org/trunk@27602 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 02:29:12 +00:00
Andrew Ozz
15e74ab98a wpView: don't overlap floated elements, see #26959
git-svn-id: https://develop.svn.wordpress.org/trunk@27601 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-19 01:15:59 +00:00
John Blackbourn
a27f712fbb Introduce before_page_number and after_page_number arguments for paginate_links(). Fixes #24709. Props grahamarmfield.
git-svn-id: https://develop.svn.wordpress.org/trunk@27600 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 23:30:55 +00:00
Lance Willett
de3f48f204 Twenty Twelve: remove doc block comments for @return void. See #27098.
git-svn-id: https://develop.svn.wordpress.org/trunk@27599 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:48:10 +00:00
Lance Willett
5b6a663d8a Twenty Thirteen: remove doc block comments for @return void. See #27098.
git-svn-id: https://develop.svn.wordpress.org/trunk@27598 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:48:00 +00:00
Lance Willett
74d34dbdc8 Twenty Eleven: remove doc block comments for @return void. See #27098.
git-svn-id: https://develop.svn.wordpress.org/trunk@27597 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:47:49 +00:00
John Blackbourn
f850186eff Introduce permission checks for post queries and edit links in the At a Glance dashboard widget. Fixes #27132. Props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@27596 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:43:41 +00:00
Lance Willett
975c953322 Twenty Fourteen: remove doc block comments for @return void. See #27098, props philiparthurmoore.
git-svn-id: https://develop.svn.wordpress.org/trunk@27595 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:43:15 +00:00
Lance Willett
ce25840560 Twenty Fourteen: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button element rather than h1 for the toggle element. Fixes #27147, props jartes and joedolson.
git-svn-id: https://develop.svn.wordpress.org/trunk@27594 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:36:12 +00:00
John Blackbourn
72c63cd966 Remove a redundant title attribute. See #26559. Props joedolson.
git-svn-id: https://develop.svn.wordpress.org/trunk@27593 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 22:01:46 +00:00
Andrew Nacin
197bdf7479 Default Themes: Update POT files for trunk (3.9-beta).
git-svn-id: https://develop.svn.wordpress.org/trunk@27592 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 19:20:24 +00:00
Lance Willett
be324417cf Twenty Fourteen: improve i18n in Ephemera widget for better translation of plurals for post format archives. Fixes #27069, props Chouby, SergeyBiryukov, lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@27589 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 18:49:03 +00:00
Dominik Schilling (ocean90)
5358f081be Widget Customizer: Remove unused vars.
see #27112.

git-svn-id: https://develop.svn.wordpress.org/trunk@27588 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 18:34:26 +00:00
Lance Willett
ad24828f32 Twenty Fourteen: make sure we only hide post content on small screens for default post types: post and page. Fixes #27031.
git-svn-id: https://develop.svn.wordpress.org/trunk@27587 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 18:03:19 +00:00
Dominik Schilling (ocean90)
183e283e56 Widget Customizer: Remove special filter for Settings Revisions plugin.
see #27112.

git-svn-id: https://develop.svn.wordpress.org/trunk@27586 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 16:47:47 +00:00
Dominik Schilling (ocean90)
e60ee04f54 Widget Customizer: Move preview script to wp_default_scripts().
git-svn-id: https://develop.svn.wordpress.org/trunk@27585 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 15:30:12 +00:00
Dominik Schilling (ocean90)
c2a4665966 Widget Customizer: Restore highlighting of widgets in preview.
props westonruter.
see #27358.

git-svn-id: https://develop.svn.wordpress.org/trunk@27584 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 15:20:38 +00:00
John Blackbourn
d91dd88edc Remove the "See more" toggle from the At a Glance dashboard widget. Fixes #26614.
git-svn-id: https://develop.svn.wordpress.org/trunk@27583 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 12:55:42 +00:00
Andrew Ozz
a053f70f11 wpView:
- Makes sure that the editor is focused when clicking on a wpview.
- When a view is the first or last node in the editor and a click on the area around the view adds a new paragraph, deselect the wpview so that the new paragraph is properly focused.
- When navigating via keyboard, select or deselect wpviews as appropriate.
Props gcorne, see #26959

git-svn-id: https://develop.svn.wordpress.org/trunk@27582 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 04:56:27 +00:00
Andrew Ozz
ed10dd815e TinyMCE gallery preview: fix editing the same gallery multiple times. Instead of .data() use .attr('data-...'), jQuery caches the former. Props gcorne, see #26959
git-svn-id: https://develop.svn.wordpress.org/trunk@27581 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 03:47:59 +00:00
Andrew Ozz
8e403519db TinyMCE gallery preview: fix errors when an image doesn't have/is smaller than thumbnail size, props gcorne, see #26959
git-svn-id: https://develop.svn.wordpress.org/trunk@27580 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 03:24:17 +00:00
Andrew Ozz
30a83e48e2 TinyMCE: move the caption and gallery toolbars to the right, fix selected gallery border/outline, see #27320
git-svn-id: https://develop.svn.wordpress.org/trunk@27579 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 02:29:45 +00:00
Andrew Ozz
20eabd30ef TinyMCE:
- Update the styling of the image caption and gallery toolbars.
- Fix issue where the hidden clipboard div in wpView.
- Switch to using the pencil dashicon for Edit.
- Add `max-width: 100%;` to images in the gallery preview and adjust column widths.
Props cramdesign, mattheu, gcorne, melchoyce, see #27320, fixes #27376, fixes #27354


git-svn-id: https://develop.svn.wordpress.org/trunk@27578 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 00:19:17 +00:00
Andrew Nacin
f36f5c5cdc Style the cursor in the image editor in the media modal.
props tomauger.
fixes #27392.


git-svn-id: https://develop.svn.wordpress.org/trunk@27577 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 00:16:35 +00:00
Andrew Nacin
c914491693 Heartbeat: Hooks should always receive unslashed data.
This affects the privileged hooks; the unprivileged hooks already received unslashed data.

props johnbillion, TobiasBg.
fixes #27260.


git-svn-id: https://develop.svn.wordpress.org/trunk@27576 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 00:14:48 +00:00
Andrew Nacin
9d5ce494e4 Clarify that unregister_default_headers() returns void in some situations. fixes #21876.
git-svn-id: https://develop.svn.wordpress.org/trunk@27575 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 00:11:39 +00:00
Dominik Schilling (ocean90)
d23e0a556c Customizer: Use esc_url_raw to escape customizer URL settings to prevent double encoding.
props westonruter, ocean90.
fixes #26569.

git-svn-id: https://develop.svn.wordpress.org/trunk@27574 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 22:15:27 +00:00
Lance Willett
0ab93452d1 Twenty Fourteen: merge two similar strings in Customizer featured content help text. Props celloexpressions, fixes #26647.
git-svn-id: https://develop.svn.wordpress.org/trunk@27573 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 22:06:08 +00:00
Lance Willett
8f24286ec7 Twenty Twelve: style select element. Props ramonchiara, fixes #27434.
git-svn-id: https://develop.svn.wordpress.org/trunk@27572 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 21:57:15 +00:00
Lance Willett
14cab57c71 Twenty Twelve: remove unused singular selectors in print CSS block. Props jbkkd, fixes #26866.
git-svn-id: https://develop.svn.wordpress.org/trunk@27571 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 21:55:09 +00:00
Lance Willett
96abb5ed9a Twenty Eleven: make sure top post meta output isn't broken on small screens. Fixes #27061.
git-svn-id: https://develop.svn.wordpress.org/trunk@27570 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 21:50:59 +00:00
Lance Willett
0ecf62462b Twenty Eleven: only show secondary skip link on pages with secondary content, and remove duplicate title attribute in site title output. Props bcworkz, fixes #26950.
git-svn-id: https://develop.svn.wordpress.org/trunk@27569 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 21:49:10 +00:00
Andrew Nacin
2e9869e49a Avoid notices in wp_notify_postauthor() when a post has no author.
props drozdz.
fixes #26659.


git-svn-id: https://develop.svn.wordpress.org/trunk@27568 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 20:30:04 +00:00
Andrew Nacin
7fa7c1340e Use get_comment_link() in wp_notify_postauthor().
Fixes pagination for the link directly to the moderated comment.

props eatingrules.
fixes #26133.


git-svn-id: https://develop.svn.wordpress.org/trunk@27567 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 20:19:29 +00:00
Andrew Nacin
c35a53f8bc Filesystem: Fix getchmod() for direct and ssh2 transports, for directories.
props DavidAnderson.
fixes #26598.


git-svn-id: https://develop.svn.wordpress.org/trunk@27566 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 20:16:40 +00:00
Andrew Nacin
b6195eb82a In is_serialized(), use substr() rather than array access, for compatibility with multibyte overloading.
props SergeyBiryukov.
fixes #18007.


git-svn-id: https://develop.svn.wordpress.org/trunk@27565 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 20:08:25 +00:00
Andrew Nacin
405615dd6a Comments dashboard widget: Use the proper class to avoid stretched "unapproved" red lines.
fixes #26910.


git-svn-id: https://develop.svn.wordpress.org/trunk@27564 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 19:53:22 +00:00
Andrew Nacin
a641b9fb55 Cap and theme support checks for the welcome panel.
props MikeHansenMe.
fixes #26276.


git-svn-id: https://develop.svn.wordpress.org/trunk@27563 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 19:46:15 +00:00
Andrew Nacin
681ca37c63 Return false from metadata_exists() if the get_$type_metadata filter returns a false value.
props xknown.
fixes #22746.


git-svn-id: https://develop.svn.wordpress.org/trunk@27562 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 19:39:31 +00:00
Dominik Schilling (ocean90)
adf2b46b8e In Recent Posts widget set default number to 5.
props afercia.
fixes #27417.

git-svn-id: https://develop.svn.wordpress.org/trunk@27561 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-17 17:00:22 +00:00