Commit Graph

  • 842d6a9b39 Add some logic into wp_tempnam to prevent it creating 'falsey' directory names that might get used elsewhere within WordPress. Although this logic looks a little strange at this low level, it's the best location within the Upgrades code for it to happen. Fixes #31811 Dion Hulse 2015-03-31 02:10:06 +00:00
  • 71557177db Let us pray to the gods of backwards compatibility: Scott Taylor 2015-03-31 02:02:35 +00:00
  • 2d3a51d16c Twenty Fifteen: adjust scroll behavior to make sure sidebar height is calculated during scroll events, not just resize events. Lance Willett 2015-03-30 22:48:11 +00:00
  • c0104d6cc2 Customizer: Revert [31911]. We want to preserve url and return URL parameters to make the experience smoother. ocean90 2015-03-30 19:21:01 +00:00
  • e6614d639b Twenty Thirteen: make sure submenu links work correctly on small screens with touch events. Lance Willett 2015-03-30 19:19:27 +00:00
  • ae1538daed TinyMCE wpView: add back the removal of selected views on inserting new content. Was removed when reverting the first fix for embedding of pasted URLs. Props mattheu. Fixes #31796. Andrew Ozz 2015-03-30 18:21:56 +00:00
  • 3e9c664a9b Press This: Use the error message returned by wp_update_post() instead of a generic one. Sergey Biryukov 2015-03-30 14:38:35 +00:00
  • e2a54a80b5 Use a more specific selector for comment moderation hotkeys after [31513]. Sergey Biryukov 2015-03-30 13:53:30 +00:00
  • 2b55dfcb8b Make sure the update button in "At a Glance" dashboard widget does not overlap with long strings. Sergey Biryukov 2015-03-30 12:49:38 +00:00
  • dadbb9713c Fix duplicate ID for Save Menu button on Menus screen. Sergey Biryukov 2015-03-30 09:48:15 +00:00
  • 3945ee3f86 Emoji: When encoding emoji into HTML entities, 0 was being incorrectly trimmed from the right side of the hex string, causing some characters to be encoded incorrectly. Gary Pendergast 2015-03-30 03:26:44 +00:00
  • 9369d03bc5 Press This: fix accessibility for the post options "sidebar". Fix size of the Add Category button. Part props afercis, joedolson. Fixes #31575. Andrew Ozz 2015-03-30 03:08:30 +00:00
  • 2fd1791bc1 Emoji: When staticizing emoji into <img> tags, include an alt attribute of the original Emoji, to match both Smiley and Twemoji <img> tags. Gary Pendergast 2015-03-30 03:08:28 +00:00
  • c932690b40 Remove unused vars. See #31627. Andrew Ozz 2015-03-30 02:49:23 +00:00
  • 867237ca49 TinyMCE emoji: catch the inserting of emoji chars with the Windows 8 onscreen keyboard and replace if needed. Fixes #31627. Andrew Ozz 2015-03-30 02:38:26 +00:00
  • bb57072f82 Customizer: Increase initial-scale viewport specification to 1.0. Dominik Schilling (ocean90) 2015-03-29 12:22:33 +00:00
  • 6a7a92e0ea Customizer: Fix calculation of panel positions when accessing via deep-links. Dominik Schilling (ocean90) 2015-03-29 11:16:30 +00:00
  • 034a4f20f0 Press This: - When saving, replace emoji images with chars in the title text. - Clean up the title text on paste. See #31768. Andrew Ozz 2015-03-29 03:13:45 +00:00
  • dad35768cf Theme Switcher: Use the global panel back button instead of adding a new one. Dominik Schilling (ocean90) 2015-03-28 22:08:32 +00:00
  • da2d5c4039 Customizer: Increase size of search field and disable text size adjustment to prevent auto zooming. Dominik Schilling (ocean90) 2015-03-28 21:02:36 +00:00
  • ed118dc8a3 Customizer: Fix selector for container which includes the controls. Broken since [30102]. Dominik Schilling (ocean90) 2015-03-28 20:46:37 +00:00
  • 1811a80eff Remove a stray > introduced in [31905]. Dominik Schilling (ocean90) 2015-03-27 23:19:26 +00:00
  • a39ae803b6 Theme Switcher: Opening themes details modal shouldn't require two clicks on touch devices. Dominik Schilling (ocean90) 2015-03-27 22:53:50 +00:00
  • b64b88d03b Customizer: Use responsive button styles if screen is max-width 640px. Dominik Schilling (ocean90) 2015-03-27 22:16:10 +00:00
  • c5cd434a72 Theme Switcher: Don't hide action buttons on narrow screens. Dominik Schilling (ocean90) 2015-03-27 21:52:23 +00:00
  • e054f53d9e Customizer: Use proper preview URL for Live Preview links. Dominik Schilling (ocean90) 2015-03-27 20:35:26 +00:00
  • ee4ba5c926 Admin menu: Revert [31720] for swipe open/closed. Helen Hou-Sandi 2015-03-27 17:47:55 +00:00
  • eced539d8b Emoji: [31864] changed emoji image's inline style from height to max-height. Unfortunately, anything using feedparser.py (for example, NewsBlur) strips out max-height, which gives us massive emoji in feeds. Gary Pendergast 2015-03-27 02:11:45 +00:00
  • 01faa39cfd Fix focusing in the plugin and theme editors. Update the help. Props afercia, Cheffheid. Fixes #31415. Andrew Ozz 2015-03-26 22:34:40 +00:00
  • 2c2951d2c0 Press This: remove role="application" from the Categories list wrapper. This doesn't make it work better in screen readers. See #31443. Andrew Ozz 2015-03-26 21:48:42 +00:00
  • 9e59690d03 Improve newly added strings for i18n: Dominik Schilling (ocean90) 2015-03-26 21:18:25 +00:00
  • 4b3cc5c55e Improve newly added strings for i18n: Dominik Schilling (ocean90) 2015-03-26 20:55:34 +00:00
  • dacd36bcaa End "Update failed" with a full stop. Dominik Schilling (ocean90) 2015-03-26 19:08:08 +00:00
  • e3107dac1f Post-beta3 bump. Drew Jaynes 2015-03-26 18:36:39 +00:00
  • e72c793502 WordPress 4.2-beta3 Drew Jaynes 2015-03-26 18:14:37 +00:00
  • e0537392c1 Remove Shiny Plugin Install strings Aaron Jorbin 2015-03-26 18:02:05 +00:00
  • 9ab336e309 More clean up from removal of Shiny Plugin Installs Aaron Jorbin 2015-03-26 16:29:09 +00:00
  • 74874407e1 Remove <code> tags from translatable strings. Dominik Schilling (ocean90) 2015-03-26 15:16:33 +00:00
  • 2c2a69c2a7 Fix initialization of wp-emoji in IE8. Props pento, azaozz. Fixes #31701. Andrew Ozz 2015-03-26 02:39:46 +00:00
  • 359ba47700 Remove Shiny Plugin Installs Aaron Jorbin 2015-03-26 02:29:52 +00:00
  • 151520ee02 Check that $_POST array index is set before comparing it in post_preview(). Boone Gorges 2015-03-26 01:44:03 +00:00
  • 5d50b55c7e When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it. Boone Gorges 2015-03-26 01:22:01 +00:00
  • fed67453a1 Press This: on sites that support oEmbed, if the user has selected some text, quote it below the embed. Props stephdau. Fixes #31763. Andrew Ozz 2015-03-26 01:16:58 +00:00
  • e1353e1fe8 Customizer: [31885] actually hasn't fixed the SecurityErrors. This one does. Dominik Schilling (ocean90) 2015-03-25 23:35:37 +00:00
  • f5ea31e389 Customizer Theme Switcher: Reset font size of theme names in overlay. Apply left position only to themes section. ocean90 2015-03-25 22:57:03 +00:00
  • 9cd90a9a10 Clarify the DocBlock summary for wp_scheduled_delete() to mention that it includes posts of any type where the 'trash' status is used. Drew Jaynes 2015-03-25 22:44:26 +00:00
  • 501aeeaaa6 Improve alignment of labels and inputs in Quick Edit. Dominik Schilling (ocean90) 2015-03-25 22:24:37 +00:00
  • e7195da11a Comments List: Don't let "Quick Edit" break on smaller screens. Dominik Schilling (ocean90) 2015-03-25 22:14:24 +00:00
  • e12762a76c TinyMCE: make sure the editor is not completely empty before checking if the user clicked above or below a wpView. Fixes #31765. Andrew Ozz 2015-03-25 18:54:22 +00:00
  • 135be2826d Avoid a PHP notice in wp_enqueue_script() if $handle is an array. Dominik Schilling (ocean90) 2015-03-25 17:54:50 +00:00
  • de328f1a88 Text Widget: Use !empty() for checking if the filter setting is set. Dominik Schilling (ocean90) 2015-03-25 17:33:49 +00:00
  • 7a5073020d Customizer: Avoid SecurityErrors when the Customizer is embedded in an origin other than wp-admin. Dominik Schilling (ocean90) 2015-03-25 17:25:01 +00:00
  • bd2d4c8d14 Clean up DocBlock information and syntax for get_filesystem_method(). Drew Jaynes 2015-03-25 16:31:15 +00:00
  • 821ca1e93c Ensure the $wp_hasher global has an entry in the check_password_reset_key() DocBlock. Drew Jaynes 2015-03-25 16:23:15 +00:00
  • b179fe8e95 When altering the admin URL to reflect the canonical location, keep the existing hash (if present) in the URL. Fixes #31758. See #23367 Dion Hulse 2015-03-25 04:31:21 +00:00
  • 76eee7be6a Emoji: Add a comment to print_emoji_detection_script() explaining how the include statement works as part of the grunt build process. Gary Pendergast 2015-03-25 04:08:07 +00:00
  • 9ef45a7200 Do not output empty name and id HTML attributes in get_submit_button(). Props afercia. Fixes #31749. Andrew Ozz 2015-03-25 03:22:18 +00:00
  • 87e372299d Emoji: Revert [31877], and print the emoji shim and styles during admin_print_scripts and admin_print_styles, instead. This is a few milliseconds slower, but easier to reuse in Press This, and any other code that uses admin scripts and styles, without using admin-header.php. Gary Pendergast 2015-03-25 01:42:25 +00:00
  • f6e1aeee60 TinyMCE: pad empty paragraphs with <br> in Chrome to stop it from inserting non-breaking spaces in them. Props iseulde. Fixes #31255. Andrew Ozz 2015-03-25 01:17:04 +00:00
  • 12070176d9 Emoji: Print the emoji support shim in wp-admin, too. Gary Pendergast 2015-03-25 01:13:35 +00:00
  • 38de4b8045 Set EOL style for wp-emoji-loader.js. See #31701. Andrew Ozz 2015-03-25 00:16:09 +00:00
  • 5a0564bb8f Emoji: Instead of loading the emoji JS files automatically, we now include a small JS shim in the header, to test if the user's browser needs Twemoji. It then loads the emoji JS files only if they're needed. Gary Pendergast 2015-03-24 23:32:23 +00:00
  • 8bbb5869e9 TinyMCE: fix error and PHP warning when adding more than one instance in RTL mode. Part props maimairel. Fixes #31578. Andrew Ozz 2015-03-24 20:32:23 +00:00
  • ecad13044d Fix a typo in [31872]. Sergey Biryukov 2015-03-24 17:32:47 +00:00
  • 0d35447647 Fill $plugins['upgrade'] with extra info for use in list table Aaron Jorbin 2015-03-24 17:29:32 +00:00
  • d6b90486d1 Implement an aria-describedby attribute for login screen errors, and improve the "Forgot password?" anchor text. John Blackbourn 2015-03-24 16:28:56 +00:00
  • de44adee46 Remove obsolete $wpdb reference from get_comments() docs. Sergey Biryukov 2015-03-24 15:42:09 +00:00
  • 22214ffdf9 Emoji: The regex for checking if the current glyph is a flag was checking the incorrect byte range, which was causing the South Korean flag to not be replaced in Firefox. Gary Pendergast 2015-03-24 09:57:44 +00:00
  • defa8b0f96 Press This: - Fix the links on inserted images to point to the source site. - Fix inserting of images above the blockquote when the editor has not been focused. Fixes #31745. Andrew Ozz 2015-03-24 01:32:17 +00:00
  • fc1d327261 Introduce attachment_url_to_postid filter to let plugins manage the uploads location better. Props mattwiebe. Fixes #31717. Andrew Ozz 2015-03-23 17:23:27 +00:00
  • 074eba3a53 4.2-beta2-31866 Drew Jaynes 2015-03-23 12:27:08 +00:00
  • 1676dd43b1 Taxonomy List Tables: On mobile devices, hide the slug column, to avoid cramping the action links into two rows. Gary Pendergast 2015-03-23 12:20:11 +00:00
  • b3e3766233 Emoji: Gmail doesn't obey an <img>'s inline CSS height rule, transforming it to min-height. To avoid giant smiley faces everywhere, we're changing the height rule to max-height, which Gmail plays nicer with. Gary Pendergast 2015-03-23 12:07:47 +00:00
  • f0849242d3 Upgrader: When creating a temporary working directory, strip off .tmp as well as .zip incase we end up using that directory as the items main directory. Fixes #30945 Dion Hulse 2015-03-23 04:39:56 +00:00
  • 9eb9342a54 Remove ambiguity in the time display format in core, switches to using 24hr notation where am/pm isn't specified. * H:i - 09:54 * g:i a - 9:54 am * F j, Y - January 3, 2015 Dion Hulse 2015-03-23 02:13:50 +00:00
  • 4d8a13fe33 Emoji: Set the emoji image protocol with set_url_scheme(), instead of defaulting to HTTPS. Gary Pendergast 2015-03-23 02:10:35 +00:00
  • 48cb73bba1 Emoji: When we're replacing emoji with <img>s in email, we can only do that if the Content-Type is text/html - otherwise, they'll show up in the email as the HTML string. Gary Pendergast 2015-03-22 23:15:34 +00:00
  • c1b0b8e97e Fix a typo in the description for the _wp_filter_build_unique_id() DocBlock. Drew Jaynes 2015-03-22 22:55:21 +00:00
  • f6aa243908 TinyMCE: fix the icon for the wp_code button. Fixes #31733. Andrew Ozz 2015-03-22 22:53:32 +00:00
  • 9822d05f72 Media: Show filename instead of extension in the list table. Helen Hou-Sandi 2015-03-22 11:02:00 +00:00
  • e0e4780c9d TinyMCE: when pasting an URL, check if the node it is pasted at is empty and remove any empty inline child elements. Fixes #31158. Andrew Ozz 2015-03-20 20:33:55 +00:00
  • 601aee103a Supplement hook documentation for the get_terms_fields filter to more clearly explain the expected consequences of using it to modify the fields to select in a terms query. Drew Jaynes 2015-03-20 20:10:22 +00:00
  • d66fffa31b Document default arguments for paginate_links() as a hash notation. Drew Jaynes 2015-03-20 20:03:04 +00:00
  • e450904e35 Adjust DocBlocks for get_|the_post_thumbnail() to clarify the difference between the 'thumbnail' and 'post-thumbnail' image sizes. Drew Jaynes 2015-03-20 19:56:16 +00:00
  • b939e06b06 Add more verbose inline documentation inside of wpautop() to more clearly explain what's going on. Drew Jaynes 2015-03-20 19:46:41 +00:00
  • 34a7cdf926 Add hook documentation for the get_media_embedded_in_content_allowed filter, introduced in [31574]. Drew Jaynes 2015-03-20 19:28:30 +00:00
  • 490fb1bf52 Trigger _doing_it_wrong() if register_sidebar() is not passed an id Mark Jaquith 2015-03-20 18:29:13 +00:00
  • 1e4238d6a8 Bundled themes: update editor styles to better display images and captions in small screens. Lance Willett 2015-03-20 16:34:15 +00:00
  • 6d7c4f39f0 Use shared fixtures in RSS2 unit tests. Boone Gorges 2015-03-20 12:34:28 +00:00
  • e3b2637699 When converting emoji in email to static images, check that the message is defined, otherwise we could cause PHP warnings. Gary Pendergast 2015-03-20 12:31:30 +00:00
  • bb2ddebec9 Enforce non-pretty permalinks in RSS2 tests. Boone Gorges 2015-03-20 12:25:27 +00:00
  • 6de5ae56dd Ensure that fixtures in RSS2 tests have an author. Boone Gorges 2015-03-20 12:25:18 +00:00
  • 630aac94a3 Remove leading newlines from two translatable strings. Sergey Biryukov 2015-03-20 02:41:33 +00:00
  • 5a080ea40f Use bold Arial for RTL headings. Sergey Biryukov 2015-03-20 02:19:02 +00:00
  • eed94919b0 Bundled themes: After [31453], replace current() with reset(), which is guaranteed to be the first item. Sergey Biryukov 2015-03-20 02:03:45 +00:00
  • 850e6b2278 After [31730], replace one more instance of array_shift() with reset() for better performance. Sergey Biryukov 2015-03-20 01:56:10 +00:00
  • 56029d4452 Bundled themes: Add trailing slashes to theme URIs to avoid a redirect. Sergey Biryukov 2015-03-20 01:31:38 +00:00
  • 42b0b7f585 Bundled themes: Use SSL for theme and author URIs. Sergey Biryukov 2015-03-20 01:21:50 +00:00
  • 182dd8606e If the URL being visited has non-breaking spaces at the end of it, they were probably inserted by an errant URL copy/paste. Instead of showing a 404 for no obvious reason, let's just trim them. Gary Pendergast 2015-03-20 01:01:52 +00:00
  • 71aa4b15f6 Make a comment clearer (without implying inversed logic) and fix a typo. Sergey Biryukov 2015-03-20 00:44:21 +00:00