Commit Graph

  • 844b799d6e JSHint fix for [27608]. Scott Taylor 2014-03-19 07:23:19 +00:00
  • 506d92e2fe TinyMCE strings: Merge, remove, reorganize, restore, clarify. Andrew Nacin 2014-03-19 07:17:07 +00:00
  • bc2512f8cc In sanitize_file_name(), replace a UTF-8-encoded Unicode representation of a non-breaking space (\u00a0 / \xc2\xa) with an old-fashioned space: . Scott Taylor 2014-03-19 07:15:23 +00:00
  • baa630ce3a Bump the version for TinyMCE's stylesheet. Scott Taylor 2014-03-19 07:02:57 +00:00
  • ce1c3140ab Add MCE views for audio and video shortcodes. When the shortcode does not contain a source that supports native playback, just show the filename. Scott Taylor 2014-03-19 07:01:56 +00:00
  • bd71f66240 Use an ellipsis instead of ... Andrew Nacin 2014-03-19 05:54:57 +00:00
  • b2da716c11 Skipping placeholders in a string will only catch translators off guard. Andrew Nacin 2014-03-19 05:53:01 +00:00
  • d3a873840e Remove two new strings from post_preview(). Andrew Nacin 2014-03-19 05:48:28 +00:00
  • 877e12ee33 Improve the autosave error message on nonce failure. nacin 2014-03-19 05:46:02 +00:00
  • a7a53e4417 Context for theme install strings. Untranslate an error message until it can be cleaned up. Andrew Nacin 2014-03-19 05:41:13 +00:00
  • 54c541cfc6 Create a new file, media-audiovideo.js, to house all of the audio and video JS code in core. Scott Taylor 2014-03-19 05:30:27 +00:00
  • 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. Lance Willett 2014-03-19 05:28:36 +00:00
  • 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. Lance Willett 2014-03-19 05:28:24 +00:00
  • 137fe5a7dd Remove HTML from a new string. see #26709. Andrew Nacin 2014-03-19 05:27:37 +00:00
  • a34bff3902 Combine two strings, using placeholders for filenames and avoiding HTML. see #27057. Andrew Nacin 2014-03-19 05:26:24 +00:00
  • e342b6a3a5 TinyMCE: update to 4.0.20, see #24067 Andrew Ozz 2014-03-19 04:46:01 +00:00
  • 04f3b0e0a5 TinyMCE show/hide toolbar row: fix the value for getUserSetting('hidetb'): 0 == hidden, 1 == visible, see #24067 Andrew Ozz 2014-03-19 02:29:12 +00:00
  • 15e74ab98a wpView: don't overlap floated elements, see #26959 Andrew Ozz 2014-03-19 01:15:59 +00:00
  • a27f712fbb Introduce before_page_number and after_page_number arguments for paginate_links(). Fixes #24709. Props grahamarmfield. John Blackbourn 2014-03-18 23:30:55 +00:00
  • de3f48f204 Twenty Twelve: remove doc block comments for @return void. See #27098. Lance Willett 2014-03-18 22:48:10 +00:00
  • 5b6a663d8a Twenty Thirteen: remove doc block comments for @return void. See #27098. Lance Willett 2014-03-18 22:48:00 +00:00
  • 74d34dbdc8 Twenty Eleven: remove doc block comments for @return void. See #27098. Lance Willett 2014-03-18 22:47:49 +00:00
  • f850186eff Introduce permission checks for post queries and edit links in the At a Glance dashboard widget. Fixes #27132. Props mattheu. John Blackbourn 2014-03-18 22:43:41 +00:00
  • 975c953322 Twenty Fourteen: remove doc block comments for @return void. See #27098, props philiparthurmoore. Lance Willett 2014-03-18 22:43:15 +00:00
  • 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. Lance Willett 2014-03-18 22:36:12 +00:00
  • 72c63cd966 Remove a redundant title attribute. See #26559. Props joedolson. John Blackbourn 2014-03-18 22:01:46 +00:00
  • 197bdf7479 Default Themes: Update POT files for trunk (3.9-beta). Andrew Nacin 2014-03-18 19:20:24 +00:00
  • be324417cf Twenty Fourteen: improve i18n in Ephemera widget for better translation of plurals for post format archives. Fixes #27069, props Chouby, SergeyBiryukov, lancewillett. Lance Willett 2014-03-18 18:49:03 +00:00
  • 5358f081be Widget Customizer: Remove unused vars. Dominik Schilling (ocean90) 2014-03-18 18:34:26 +00:00
  • ad24828f32 Twenty Fourteen: make sure we only hide post content on small screens for default post types: post and page. Fixes #27031. Lance Willett 2014-03-18 18:03:19 +00:00
  • 183e283e56 Widget Customizer: Remove special filter for Settings Revisions plugin. Dominik Schilling (ocean90) 2014-03-18 16:47:47 +00:00
  • e60ee04f54 Widget Customizer: Move preview script to wp_default_scripts(). Dominik Schilling (ocean90) 2014-03-18 15:30:12 +00:00
  • c2a4665966 Widget Customizer: Restore highlighting of widgets in preview. Dominik Schilling (ocean90) 2014-03-18 15:20:38 +00:00
  • d91dd88edc Remove the "See more" toggle from the At a Glance dashboard widget. Fixes #26614. John Blackbourn 2014-03-18 12:55:42 +00:00
  • 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 Andrew Ozz 2014-03-18 04:56:27 +00:00
  • 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 Andrew Ozz 2014-03-18 03:47:59 +00:00
  • 8e403519db TinyMCE gallery preview: fix errors when an image doesn't have/is smaller than thumbnail size, props gcorne, see #26959 Andrew Ozz 2014-03-18 03:24:17 +00:00
  • 30a83e48e2 TinyMCE: move the caption and gallery toolbars to the right, fix selected gallery border/outline, see #27320 Andrew Ozz 2014-03-18 02:29:45 +00:00
  • 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 Andrew Ozz 2014-03-18 00:19:17 +00:00
  • f36f5c5cdc Style the cursor in the image editor in the media modal. Andrew Nacin 2014-03-18 00:16:35 +00:00
  • c914491693 Heartbeat: Hooks should always receive unslashed data. Andrew Nacin 2014-03-18 00:14:48 +00:00
  • 9d5ce494e4 Clarify that unregister_default_headers() returns void in some situations. fixes #21876. Andrew Nacin 2014-03-18 00:11:39 +00:00
  • d23e0a556c Customizer: Use esc_url_raw to escape customizer URL settings to prevent double encoding. Dominik Schilling (ocean90) 2014-03-17 22:15:27 +00:00
  • 0ab93452d1 Twenty Fourteen: merge two similar strings in Customizer featured content help text. Props celloexpressions, fixes #26647. Lance Willett 2014-03-17 22:06:08 +00:00
  • 8f24286ec7 Twenty Twelve: style select element. Props ramonchiara, fixes #27434. Lance Willett 2014-03-17 21:57:15 +00:00
  • 14cab57c71 Twenty Twelve: remove unused singular selectors in print CSS block. Props jbkkd, fixes #26866. Lance Willett 2014-03-17 21:55:09 +00:00
  • 96abb5ed9a Twenty Eleven: make sure top post meta output isn't broken on small screens. Fixes #27061. Lance Willett 2014-03-17 21:50:59 +00:00
  • 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. Lance Willett 2014-03-17 21:49:10 +00:00
  • 2e9869e49a Avoid notices in wp_notify_postauthor() when a post has no author. Andrew Nacin 2014-03-17 20:30:04 +00:00
  • 7fa7c1340e Use get_comment_link() in wp_notify_postauthor(). Andrew Nacin 2014-03-17 20:19:29 +00:00
  • c35a53f8bc Filesystem: Fix getchmod() for direct and ssh2 transports, for directories. Andrew Nacin 2014-03-17 20:16:40 +00:00
  • b6195eb82a In is_serialized(), use substr() rather than array access, for compatibility with multibyte overloading. Andrew Nacin 2014-03-17 20:08:25 +00:00
  • 405615dd6a Comments dashboard widget: Use the proper class to avoid stretched "unapproved" red lines. Andrew Nacin 2014-03-17 19:53:22 +00:00
  • a641b9fb55 Cap and theme support checks for the welcome panel. Andrew Nacin 2014-03-17 19:46:15 +00:00
  • 681ca37c63 Return false from metadata_exists() if the get_$type_metadata filter returns a false value. Andrew Nacin 2014-03-17 19:39:31 +00:00
  • adf2b46b8e In Recent Posts widget set default number to 5. Dominik Schilling (ocean90) 2014-03-17 17:00:22 +00:00
  • d4986f1b61 Avoid PHP notices in Media Library if an attachment parent post type no longer exists. Sergey Biryukov 2014-03-17 15:32:32 +00:00
  • 6d13e3e1ff Restyle the plugin install details modal to match the rest of the admin. Props avryl and paulwilde for initial mockup, see #26952 Andrew Ozz 2014-03-16 18:27:38 +00:00
  • 6c28dfde29 Define DOING_AJAX earlier in async-upload.php. Andrew Nacin 2014-03-15 19:58:52 +00:00
  • d017a789bc Send a charset header when erroring out in wp_check_php_mysql_versions(). Andrew Nacin 2014-03-15 06:16:10 +00:00
  • 05911cc3d4 Explicitly assign menu term relationship rather than piggybacking on wp_insert_post() with the tax_input argument. Andrew Nacin 2014-03-15 06:06:41 +00:00
  • ad650e283b Themes screens: Lose search input focus when pressing enter. Andrew Nacin 2014-03-15 05:13:23 +00:00
  • f4cc32fac9 XML-RPC: In wp.editPost, Remove all terms in a taxonomy when an empty array is explicitly passed. Andrew Nacin 2014-03-15 05:08:40 +00:00
  • 890b809bb9 XML-RPC: Include 'sticky' in the struct returned from metaWeblog.getRecentPosts. Andrew Nacin 2014-03-15 05:04:54 +00:00
  • 0ed014743d Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. Andrew Nacin 2014-03-15 05:00:27 +00:00
  • 8355232a65 Avoid saving slashed data in XML-RPC's wp.setOptions. Andrew Nacin 2014-03-15 04:46:53 +00:00
  • 5adf89fe26 Pass feed_type arg in wp_list_authors() to get_author_feed_link(). Andrew Nacin 2014-03-15 04:42:57 +00:00
  • 4380d80c62 Permalink Settings: Don't show "update your .htaccess now" if nothing needs to change. Andrew Nacin 2014-03-15 04:34:23 +00:00
  • 1f8285b2e1 Fix .comment-grey-bubble markup and remove a stray </h5> tag. Sergey Biryukov 2014-03-15 04:31:58 +00:00
  • 2123afcbd3 All destructive row actions should be styled as such. Andrew Nacin 2014-03-15 04:25:55 +00:00
  • 526bf7d352 WP_Filesystem: Update request_filesystem_credentials() to handle the correct ssh value of FS_METHOD. Props jnielsendotnet. Fixes #27265 Dion Hulse 2014-03-15 03:08:47 +00:00
  • 0fdb6dadfb TinyMCE: add internal command and shortcut (Alt+Shift+X) for toggling <code>. Define a button that can be added to any toolbar as wp_code. See #6113 Andrew Ozz 2014-03-14 22:42:59 +00:00
  • b6e2bd9f0e MCE Views: don't (re-)render views if the format of the content is "raw" to avoid adding additional undo levels on undo/redo. Scott Taylor 2014-03-14 20:40:44 +00:00
  • a339826668 Widget Customizer: Make temp hooks final and add inline docs. Dominik Schilling (ocean90) 2014-03-14 20:30:54 +00:00
  • f2164771a7 In wp.media.mixin, add ua and a compat map to separate and clarify browser detection and support. Leverage Underscore list iterators in isCompatible(). Scott Taylor 2014-03-14 20:25:31 +00:00
  • 9e6f811c2b Widget Customizer: Move widget area sections to bottom. Dominik Schilling (ocean90) 2014-03-14 20:00:09 +00:00
  • cecef45157 Customizer: Introduce a processing state. Dominik Schilling (ocean90) 2014-03-14 19:15:04 +00:00
  • bfd0ac1099 The canPlayType property for audio and video in JS is so bad that the official valid responses are "probably" and "maybe". There are many cases where we might want to know if an audio|video tag is gonna blow up in our face before even attempting to make a MediaElementPlayer instance out of it. Scott Taylor 2014-03-14 14:35:49 +00:00
  • 2ba763c9ba Move removePlayer() and unsetPlayer() to wp.media.mixin so that other classes can take advantage of them. Scott Taylor 2014-03-14 13:47:24 +00:00
  • 3d244e1fed Rather than extending wp.media.mixin, only borrow coerce when necessary in wp.media.audio|video|collection. wp.media.mixin will make sense to be mixed in for classes that expect to interact with the player. More universal methods can be added and inherited by all those who extend their prototype with it. Scott Taylor 2014-03-14 13:16:07 +00:00
  • 5e1e5c53ec In media.model.PostMedia, for these 2 scenarios: Scott Taylor 2014-03-14 12:59:28 +00:00
  • 12792afdde Make media.view.VideoDetails.prepareSrc a static class method instead of an instance method. Properly pairs it with its incrementing instances property. Scott Taylor 2014-03-14 12:42:57 +00:00
  • 86722dfaaa Load MediaElement's CSS when TinyMCE is loaded via $mce_css in editor_settings(). Add some baseline styles in wp-content.css for audio, video, and embed tags to ensure their max-width is 100%, regardless of whether MEjs is implemented in TinyMCE. Scott Taylor 2014-03-14 12:33:24 +00:00
  • 4a2ffa917c When rendering Underscore templates for Audio/Video details, use 2 new PHP functions to render the markup for audio and video tags: wp_underscore_audio_template() and wp_underscore_video_template(). Scott Taylor 2014-03-14 12:19:40 +00:00
  • 83501070d5 Modals: darken all overlays, update all box-shadows and headings, correct thickbox styling, make the link modal narrower and bring back the animation (css transition). Props avryl, see #26952 Andrew Ozz 2014-03-14 05:54:16 +00:00
  • a33829d1d0 Drag/drop upload: don't trigger on "local" dragging, hide the overlay on click. Props kovshenin, fixes #19845 Andrew Ozz 2014-03-14 00:41:12 +00:00
  • bb02b06ad4 Revert [27528] until Flash in Firefox behaves :( Scott Taylor 2014-03-13 23:38:14 +00:00
  • 163b0e2832 Version bump for TinyMCE stylesheet. Scott Taylor 2014-03-13 23:15:04 +00:00
  • 1c7d92ba50 Add MCE Views for audio and video. Please clear your browser cache so that you get the latest TinyMCE stylesheet. Scott Taylor 2014-03-13 23:09:06 +00:00
  • 110e19a6a0 figcaption should not be treated as a block-level element by wpautop(). See #25646. Props oso96_2000. John Blackbourn 2014-03-13 21:50:17 +00:00
  • eaae9961ef Remove Qik from the oEmbed provider list as it's shutting down. Fixes #27302. Props JustinSainton. John Blackbourn 2014-03-13 21:27:54 +00:00
  • a247452cbb Widget Customizer: Move style/script registration to script loader. Update Gruntfile.js. Dominik Schilling (ocean90) 2014-03-13 19:40:15 +00:00
  • 91fbdbbcc4 Widget Customizer: Use ?wp_customize=on. Dominik Schilling (ocean90) 2014-03-13 18:37:24 +00:00
  • 22eb8b34ef Improve paginate_links() performance by not calling number_format_i18n() unnecessarily. Fixes #25735 with tests. Props johnpbloch. John Blackbourn 2014-03-13 17:38:51 +00:00
  • 543bc6404a The Image Editor should apply changes to custom image sizes by checking $_wp_additional_image_sizes for $size in wp_save_image() before arbitrarily going to the options table. Scott Taylor 2014-03-13 04:17:36 +00:00
  • dad0455ef9 Avoid a notice in get_the_category_by_ID() when is_wp_error( $term ) is false but $term->name is not set. Clarify the @return value of get_category() and get_tag() which return the same possible types as get_term(), which they wrap. Scott Taylor 2014-03-13 04:03:06 +00:00
  • dc73f008ce Add a class property to wp.media.view.MediaDetails called instances that is incremented every time the class is invoked. This mimics what happens in the shortcodes: the sources receive an incremented cache-buster so that the browser won't ignore the file when preload="metadata" is set. Scott Taylor 2014-03-13 03:54:38 +00:00
  • d018152785 Account for preload="metadata" in audio and video shortcodes when multiple versions of the same <source> appear on the page by appending a query arg to "cache-bust" passed sources. The query arg is used to make the sources "unique." They will still be cached by the browser and won't bust the cache on every request. Scott Taylor 2014-03-13 03:41:53 +00:00
  • abf794f75c In wp.media.view.AttachmentFilters, when creating its inner HTML content, pass filter.text via .html( str ) instead of .text( str ) to allow more formatting options. Scott Taylor 2014-03-13 03:18:42 +00:00
  • 14615cd317 Ensure the correct model is selected when editing an image from gallery mode. props gcorne. fixes #27363. Helen Hou-Sandi 2014-03-12 22:04:56 +00:00