Commit Graph

29213 Commits

Author SHA1 Message Date
Aaron Jorbin b857ff6083 Request FTP and SSH credentials when needed during shiny updates
This is a first pass at requesting FTP and SSH credentials when needed during shiny updates. Styling and some UX improvements are still needed, but we do show the prompt and use the passed data when doing plugin installs and updates for shiny updates.  There are also a couple of areas that we could improve code wise such how we create the requestFilesystemCredentials part of the localized _wpUpdatesSettings. Over the past half century, we've split the atom, we've spliced the gene and we've roamed Tranquility Base. We've reached for the stars and never have we been closer to having them in our grasp. That has nothing to do with shiny updates. 

Props ericlewis, jorbin, and drewapicture for testing
Fixes #31528



git-svn-id: https://develop.svn.wordpress.org/trunk@31749 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 08:52:42 +00:00
Helen Hou-Sandi c5169d828e Nav menus: Return to calling links "Custom Links".
It was like this before 3.6 and got a bit lost during that development cycle. Also uses the terminology more consistently in the nav menu UI.

props tyxla.
fixes #31344.


git-svn-id: https://develop.svn.wordpress.org/trunk@31748 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 06:14:53 +00:00
Helen Hou-Sandi 75cb1ae15a Star ratings: Use a yellow color across the board. Keying these to color schemes originally turned out to be weird.
props hugobaeta.
fixes #31424.


git-svn-id: https://develop.svn.wordpress.org/trunk@31747 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 05:40:14 +00:00
Andrew Nacin fff0f98244 The partial change to the script handle in [31744] was not actually intended.
see #31242.


git-svn-id: https://develop.svn.wordpress.org/trunk@31746 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 03:36:01 +00:00
Gary Pendergast fa132c0d7e Add new smiley images missed in [31733].
See #31242



git-svn-id: https://develop.svn.wordpress.org/trunk@31745 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 03:27:06 +00:00
Andrew Nacin a5cd4f6284 Emoji JS cleanup.
* Filename: emoji.js => wp-emoji.js
 * Script handle: emoji => wp-emoji
 * Object: WPEmoji => wp.emoji
 * Script settings: EmojiSettings => _wpemojiSettings
 * Setting key: base_url => baseUrl
 * Remove executable bit from files

see #31242.


git-svn-id: https://develop.svn.wordpress.org/trunk@31744 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 03:16:51 +00:00
Sergey Biryukov fdb65519ac Press This: Remove obsolete help tab in Settings -> Writing.
props kraftbj.
fixes #26794.

git-svn-id: https://develop.svn.wordpress.org/trunk@31743 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 02:36:09 +00:00
Andrew Ozz 1c425c9eac TinyMCE wpViews: always import the non-default editor styles in the sandbox iframe in views.
Props iseulde, mattheu. Fixes #31464.

git-svn-id: https://develop.svn.wordpress.org/trunk@31742 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 01:04:59 +00:00
Sergey Biryukov 8220541799 Fix JSHint errors in [31734] and add missing dependencies.
props iseulde.
fixes #31328.

git-svn-id: https://develop.svn.wordpress.org/trunk@31741 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 01:04:44 +00:00
Andrew Ozz 484733be3a TinyMCE: improve setting of the sandboxing iframe inside a view.
Props mattheu, iseulde. Fixes #31412.

git-svn-id: https://develop.svn.wordpress.org/trunk@31740 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:52:15 +00:00
Andrew Ozz 2707b39c63 PressThis: add inline comments and some cleanup for the images and embeds regex.
Props stephdau. Fixes #31373.

git-svn-id: https://develop.svn.wordpress.org/trunk@31739 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:36:23 +00:00
Andrew Ozz 6d9c5ea526 TinyMCE: remove blocking of commands on placeholder images. Breaks some execCommand.
Props iseulde. Fixes #31571.

git-svn-id: https://develop.svn.wordpress.org/trunk@31738 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:32:44 +00:00
Andrew Ozz 962ba7c52e PressThis: update _limit_url(), use esc_url_raw(). Fixes checking of urlencoded strings.
See #31373.

git-svn-id: https://develop.svn.wordpress.org/trunk@31737 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:22:21 +00:00
Dominik Schilling (ocean90) 62dd55f7d7 Administration: Remove single-use URL parameters and create canonical link based on new URL.
The default removable query args are 'message', 'settings-updated', 'saved', 'update', 'updated','activated', 'activate', 'deactivate', 'locked', 'deleted', 'trashed', 'untrashed', 'enabled', 'disabled', and 'skipped'. 

props morganestes.
fixes #23367.

git-svn-id: https://develop.svn.wordpress.org/trunk@31736 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:08:56 +00:00
Andrew Ozz 62b4dd45d7 TinyMCE: remove block_formats setting, this is now the default in TinyMCE 4.1.9.
Props iseulde. Fixes #31585.

git-svn-id: https://develop.svn.wordpress.org/trunk@31735 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:56:17 +00:00
Gary Pendergast 1357e7fc2e Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji.
Props pento, SergeyBiryukov and boonebgorges.

Fixes #31328



git-svn-id: https://develop.svn.wordpress.org/trunk@31734 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:54:49 +00:00
Gary Pendergast ae391ec226 Add emoji support, with Twemoji fallback.
Replace exisiting smilies with equivalent emoji, or with shiny new smiley images where no emoji existed.

Props batmoo, joen and mkaz for the original plugin upon which this is based.

Props pento, iseulde, kraftbj and peterwilsoncc for making the internet's dreams come true.

See #31242



git-svn-id: https://develop.svn.wordpress.org/trunk@31733 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:48:16 +00:00
Andrew Ozz 1c1e5f377f TinyMCE: initialize the floating toolbars on preinit so we can attach other events on init.
Props iseulde. Fixes #30619.

git-svn-id: https://develop.svn.wordpress.org/trunk@31732 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:40:56 +00:00
Andrew Ozz 976e548ef7 TinyMCE wpViews: use the real attribute value instead of the cached jQuery data. Fixes updating of the wpView text strings.
Props iseulde. Fixes #31601.

git-svn-id: https://develop.svn.wordpress.org/trunk@31731 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:39:29 +00:00
John Blackbourn 82ac76c0a7 Introduce a new algorithm for displaying a hierarchical list of post objects in the `WP_Posts_List_Table`. This reduces processing time, reduces database queries, and substantially reduces memory use on sites with a high number of Pages.
Props nofearinc, rodrigosprimo, nacin, johnbillion.
Fixes #15459


git-svn-id: https://develop.svn.wordpress.org/trunk@31730 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 20:45:17 +00:00
Dominik Schilling (ocean90) bea0628880 Introduce HTML5 widgets support.
When a theme supports HTML5 widgets via `add_theme_support( 'html5', 'widgets' )`, aside will be used instead of list markup.

props LeoPeo, valendesigns.
fixes #30556.

git-svn-id: https://develop.svn.wordpress.org/trunk@31729 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 20:43:25 +00:00
Helen Hou-Sandi 22f174c106 Fix a unit test after [31721].
props jipmoors.
see #22329.


git-svn-id: https://develop.svn.wordpress.org/trunk@31728 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 20:11:38 +00:00
Andrew Ozz 3b585cd9ca TinyMCE, floating toolbars: return early if no selected element in the editor. See #30619.
git-svn-id: https://develop.svn.wordpress.org/trunk@31727 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 20:07:54 +00:00
Helen Hou-Sandi 8f9bef790e Enable more flexibility for non-URL GUIDs.
props stevenkword.
fixes #31080.


git-svn-id: https://develop.svn.wordpress.org/trunk@31726 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 19:59:03 +00:00
Andrew Ozz 2c9a5e3b8b TinyMCE:
- Abstract the code for creating floating toolbars.
- Introduce `editor.wp` namespace to hold exported methods from our plugins.
- Create the wpView toolbar(s) with the new method. This makes them work the same as the image toolbar: shortcuts, esc key, etc.
Props iseulde. See #30619.

git-svn-id: https://develop.svn.wordpress.org/trunk@31725 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 19:11:02 +00:00
Dominik Schilling (ocean90) 9a350f7f36 JSHint: Remove an unused variable.
see #28206.

git-svn-id: https://develop.svn.wordpress.org/trunk@31724 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 17:39:48 +00:00
Dominik Schilling (ocean90) 416628ccd4 Update hoverIntent to 1.8.1.
props rachelbaker, jesin.
fixes #31505.

git-svn-id: https://develop.svn.wordpress.org/trunk@31723 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 17:14:34 +00:00
Helen Hou-Sandi debd0092cb Gravatars: Remove redundant 1x srcset.
props miqrogroove.
see #22329.


git-svn-id: https://develop.svn.wordpress.org/trunk@31722 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 16:55:22 +00:00
Helen Hou-Sandi 13c503d15a Gravatars: Enable HiDPI versions for browsers that support srcset.
props iseulde.
see #22329.


git-svn-id: https://develop.svn.wordpress.org/trunk@31721 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 16:31:50 +00:00
Andrew Ozz 019a6dee36 Allow swiping of the admin menu on touch devices.
Props iseulde, ninnypants. See #31187.

git-svn-id: https://develop.svn.wordpress.org/trunk@31720 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 16:28:21 +00:00
Helen Hou-Sandi 2d8bfdea8f Plugin details: Ensure banner image doesn't repeat.
props senff, valendesigns.
fixes #30773.


git-svn-id: https://develop.svn.wordpress.org/trunk@31719 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 16:11:15 +00:00
Dominik Schilling (ocean90) 137634176f Editor: Hide TinyMCE help button on mobile.
props MattyRob, iseulde.
fixes #31161.

git-svn-id: https://develop.svn.wordpress.org/trunk@31718 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 16:01:07 +00:00
Dominik Schilling (ocean90) f29a9083fc Merge three similar strings.
props pavelevap.
see #31013.

git-svn-id: https://develop.svn.wordpress.org/trunk@31717 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 15:24:04 +00:00
Dominik Schilling (ocean90) 5b7bd930c6 Update jQuery UI to 1.11.4.
Changelog:
* https://jqueryui.com/changelog/1.11.4/
* https://github.com/jquery/jquery-ui/compare/1.11.3...1.11.4

props scott.gonzalez for arranging this release.
fixes #31597, #30998.

git-svn-id: https://develop.svn.wordpress.org/trunk@31716 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 15:11:52 +00:00
Helen Hou-Sandi 507eab72c2 wpLink: Title case "Link Text", as it's an existing string.
see #28206.


git-svn-id: https://develop.svn.wordpress.org/trunk@31715 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 03:02:34 +00:00
Andrew Ozz df6e920a87 wpLink: change the text label to Link text, always focus the URK field, fix Ctrl/Cmd + K shortcut. See #28206.
git-svn-id: https://develop.svn.wordpress.org/trunk@31714 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 03:00:15 +00:00
Andrew Ozz bfbcfe3e6a wpLink: replace the "Title" field with a "Text" field and populate it with the link text when editing an existing link or with the selected text if any.
Props iseulde. See #28206.

git-svn-id: https://develop.svn.wordpress.org/trunk@31713 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 02:39:02 +00:00
John Blackbourn 62c89ae8b5 RIP3 Revision3
Fixes #31592


git-svn-id: https://develop.svn.wordpress.org/trunk@31712 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 02:06:32 +00:00
John Blackbourn 60eb837e3d Some updates to the oEmbed provider table.
See #28507


git-svn-id: https://develop.svn.wordpress.org/trunk@31711 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 02:02:54 +00:00
John Blackbourn 1d0bac31fb Allow `https` URLs for Instagram embeds, and switch to `https` for its oEmbed API endpoint.
See #28507.


git-svn-id: https://develop.svn.wordpress.org/trunk@31710 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 01:06:00 +00:00
Sergey Biryukov c29e63fdf7 Restore `<title>` tag on Posts and Pages screens after [31696].
fixes #31349.

git-svn-id: https://develop.svn.wordpress.org/trunk@31709 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 00:48:56 +00:00
Sergey Biryukov 8c5057119e Revert the part of [31168] that [31701] was trying to fix.
`default-filters.php` is loaded before the `$current_site` global is set, so `is_main_site()` cannot be used there.

fixes #30947.

git-svn-id: https://develop.svn.wordpress.org/trunk@31708 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 23:19:02 +00:00
Dominik Schilling (ocean90) 32a124a884 Customizer: Return the original value when filtering theme mods/options and the current blog has changed.
props westonruter.
fixes #31428.

git-svn-id: https://develop.svn.wordpress.org/trunk@31707 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 23:04:12 +00:00
Dominik Schilling (ocean90) 72fcd6e2ce Customizer: Prevent a race condition when attempting to publish too soon after updating widget form fields with multiple edits.
props westonruter.
fixes #31501.

git-svn-id: https://develop.svn.wordpress.org/trunk@31706 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 22:44:25 +00:00
Dominik Schilling (ocean90) 63502a8a01 Customizer: Fix previewing and applying widgets when previewing another theme.
* Unset `wp_get_sidebars_widgets()`' non-admin cache var `$_wp_sidebars_widgets` in Customize theme preview.
* Add `WP_Customize_Setting::$dirty` so that settings can be initially-dirty when the Customizer loads.
* Mark `old_sidebars_widgets_data` setting initially-dirty.
* Mark all `sidebars_widgets` settings as initially-dirty during theme switch.

props westonruter.
see #31484.

git-svn-id: https://develop.svn.wordpress.org/trunk@31705 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 22:38:30 +00:00
Dominik Schilling (ocean90) 4aeeb0e0f0 Customizer: Add title attributes to iframes.
props afercia.
fixes #31202.

git-svn-id: https://develop.svn.wordpress.org/trunk@31704 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 21:19:14 +00:00
Andrew Ozz 2f41519c46 TinyMCE: Remove old placeholder functions and callbacks.
Props iseulde. Fixes #31576.

git-svn-id: https://develop.svn.wordpress.org/trunk@31703 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 20:27:48 +00:00
Dominik Schilling (ocean90) 39e1f112cf Theme Details: Hide admin toolbar on smaller screens.
props obenland.
fixes #31381.

git-svn-id: https://develop.svn.wordpress.org/trunk@31702 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 20:03:30 +00:00
Sergey Biryukov 8f0910aee4 Don't run update checks for AJAX requests after [31168].
fixes #30947.

git-svn-id: https://develop.svn.wordpress.org/trunk@31701 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 19:29:31 +00:00
Andrew Ozz 9aba4766fc TinyMCE: update to 4.1.9. Fixes #31551.
git-svn-id: https://develop.svn.wordpress.org/trunk@31700 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-10 19:19:56 +00:00