Gary Pendergast
3fdaf059b9
Bump 4.8 branch to version 4.8.3.
...
Built from https://develop.svn.wordpress.org/branches/4.8@42069
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 13:07:32 +00:00
Dominik Schilling
c38ae9a68f
Taxonomy/Users: Use correct escaping function for URLs.
...
Merge of [41522] to the 4.8 branch.
Built from https://develop.svn.wordpress.org/branches/4.8@41523
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 21:20:32 +00:00
Dominik Schilling
27433a5d25
Bump 4.8 branch to version 4.8.2.
...
Built from https://develop.svn.wordpress.org/branches/4.8@41509
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 19:42:33 +00:00
John Blackbourn
3e77adc619
Filesystem API: Ensure filenames are valid before attempting to unzip them to ensure malformed file paths don't cause issues.
...
Merges [41457] to the 4.8 branch.
Built from https://develop.svn.wordpress.org/branches/4.8@41458
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 14:37:33 +00:00
Dominik Schilling
07e1f9a6ca
Taxonomy/Users: Provide a fallback for incorrect HTTP referrers.
...
Merge of [41398] to the 4.8 branch.
Built from https://develop.svn.wordpress.org/branches/4.8@41417
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 11:11:33 +00:00
John Blackbourn
846bd22a79
General: Add missing URL-encoding and add extra hardening to plugin and template names when they're displayed in the admin area.
...
Merges [41399], with additions, to the 4.8 branch.
See #13377
Built from https://develop.svn.wordpress.org/branches/4.8@41412
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 10:21:16 +00:00
Dominik Schilling
b7d54dd918
Widgets: Prevent visual Text widget from decoding encoded HTML.
...
Also apply `the_editor_content` filters on widget `text` with `format_for_editor()` as is done for the post editor.
Merge of [41260] to the 4.8 branch.
Amends [40631].
Props westonruter, azaozz.
See #35243 .
Fixes #41596 .
Built from https://develop.svn.wordpress.org/branches/4.8@41392
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 07:44:32 +00:00
Dominik Schilling
93ba8ea6fb
I18N: Allow numbers in locales during installation.
...
The current regex was a bit to strict for locales like `pt_PT_ao90` which were already supported by `wp_get_installed_translations()`.
Merge of [41335] to the 4.8 branch.
See #41794 .
Built from https://develop.svn.wordpress.org/branches/4.8@41336
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-04 19:38:33 +00:00
Weston Ruter
e10af224e2
Bump 4.8 branch to version 4.8.1.
...
Built from https://develop.svn.wordpress.org/branches/4.8@41210
git-svn-id: http://core.svn.wordpress.org/branches/4.8@41050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-02 20:58:32 +00:00
Weston Ruter
fd423f720e
Widgets: Rename Text widget's legacy
mode to non-visual
mode, restore boolean filter
prop, and improve compatibility for widget_text
filters applied in Custom HTML widget.
...
Merges [41132] onto 4.8 branch.
Amends [41050].
Props westonruter, obenland, timmydcrawford for testing.
See #35243 , #40951 , #40907 .
Fixes #41394 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41133
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-24 22:54:34 +00:00
Weston Ruter
ff0656e37c
Widgets: Improve Text widget's reliability in syncing Visual tab's contents with Text tab and with hidden sync inputs.
...
Merges [41094] onto 4.8 branch.
Amends [40631].
Props azaozz, westonruter, rinkuyadav999 for testing.
See #35243 .
Fixes #40974 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41095
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-19 20:51:33 +00:00
Weston Ruter
aef4b48187
Widgets: Check for existence of wp.customize.state
before attempting to access in Text widget.
...
Merges [41088] onto 4.8 branch.
Amends [40631].
See #35243 .
Fixes #41361 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41089
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-18 22:40:37 +00:00
Weston Ruter
e875520cec
Widgets: Bump the TinyMCE panels' base z-index
to 500001 so they show in the Customizer (such as in the Text widget).
...
Merges [40990] and [40995] onto 4.8 branch.
Props greuben, westonruter.
Fixes #41158 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41068
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-18 03:23:33 +00:00
Weston Ruter
d68bbe13cb
TinyMCE: respect the Disable the visual editor when writing
user setting and don't output the TinyMCE components when using wp_enqueue_editor()
.
...
Merges [40991] onto 4.8 branch.
Props azaozz.
Fixes #40960 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41067
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-18 01:55:32 +00:00
Weston Ruter
3f4babe28b
Customize: Restrict click target of menu deletion, moving to button from its container.
...
Merges [41020] onto 4.8 branch.
Props westonruter, afercia.
Fixes #40981 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41057
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-14 17:44:33 +00:00
Weston Ruter
d32185545b
Widgets: Forcibly limit Video widget to only accept oEmbed URLs from YouTube and Vimeo (for now).
...
Merges [40939] onto 4.8 branch.
Amends [40640].
Props timmydcrawford.
See #34115 , #39994 .
Fixes #40935 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41056
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-14 17:41:32 +00:00
Weston Ruter
dbdd48e05e
Customize: Restore right border on footer actions.
...
Fixes regression introduced in [40511].
Merges [40896] onto 4.8 branch.
Props timmydcrawford.
See #32296 .
Fixes #40978 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41055
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-14 17:38:34 +00:00
Weston Ruter
c4ac9d0ade
Widgets: Add legacy mode for Text widget and add usage pointers to default visual mode.
...
The Text widget in legacy mode omits TinyMCE and retains old behavior for matching pre-existing Text widgets. Usage pointers added to default visual mode appear when attempting to paste HTML code into the Visual tab and when clicking on the Text tab, informing users of the new Custom HTML widget.
Merges [41050] to 4.8 branch.
Props westonruter, melchoyce, gitlost for testing, obenland for testing, dougal for testing, afercia for testing.
See #35243 .
Fixes #40951 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41053
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-14 17:28:32 +00:00
Weston Ruter
2e43bdea3e
Widgets: Add accessibility mode support for TinyMCE-enhanced Text and Media widgets (Video, Audio, Images).
...
Merges [40941] to 4.8 branch.
Amends [40640], [40631].
Props westonruter, afercia.
See #35243 , #32417 .
Fixes #40986 for 4.8.1.
Built from https://develop.svn.wordpress.org/branches/4.8@41051
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-14 17:17:33 +00:00
Sergey Biryukov
e88ec329f7
Accessibility: Avoid a keyboard trap on the permalink custom structure setting.
...
Using the `focus` event on the permalink custom structure field made impossible
to navigate through all the form fields using only the keyboard without actually
selecting the custom structure setting. Instead, using click and input preserves
the original functionality when using any kind of pointing or input device.
Also changes `attr()` to `prop()` as recommended for a `checked` property.
Props afercia.
Fixes #40982 .
Merges [40897] to the 4.8 branch.
Built from https://develop.svn.wordpress.org/branches/4.8@41024
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-10 23:16:32 +00:00
Sergey Biryukov
b59b5b9ab8
Comments: In WP_Comments_List_Table::extra_tablenav()
, save the state of ::has_items()
to a static variable, so that the value is consistent between top and bottom navigation.
...
This prevents "Empty Spam" and "Empty Trash" buttons from disappearing if there's only one page of comments in Spam/Trash.
Fixes #40975 .
Merges [41022] to the 4.8 branch.
Built from https://develop.svn.wordpress.org/branches/4.8@41023
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-10 23:09:34 +00:00
Aaron Jorbin
408dae699e
About: Swap out images and videos for CDN versions, and add responsive images.
...
Backports [40881] from trunk to 4.8.
Props: melchoyce, joemcgill, pento.
See #40721 .
Built from https://develop.svn.wordpress.org/branches/4.8@40887
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-08 05:25:33 +00:00
Aaron Jorbin
0d820bf585
About Page: update CSS with prefixes
...
Backports [40885] from trunk to 4.8.
Seconded by melchoyce.
See #40721 .
Built from https://develop.svn.wordpress.org/branches/4.8@40886
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-08 04:53:32 +00:00
Dominik Schilling
439478f087
Upgrade: Add wp-includes/js/tinymce/plugins/wpembed
to $_old_files
.
...
Merge of [40879] to the 4.8 branch.
See #39513 , #40942 .
Built from https://develop.svn.wordpress.org/branches/4.8@40880
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-07 21:36:33 +00:00
John Blackbourn
97dcac413f
Build/Test Tools: Fix PHP 5.2 compatibility for grandchild methods which expect exceptions to be raised.
...
This is due to `is_callable( 'parent::setExpectedException' )` not being supported on PHP 5.2 when the method being checked only exists on the grandparent class.
See #39822
Merges [40872] and [40873] to the 4.8 branch.
Built from https://develop.svn.wordpress.org/branches/4.8@40875
git-svn-id: http://core.svn.wordpress.org/branches/4.8@40725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-05 10:41:22 +00:00
Dominik Schilling
55497ccfd1
I18N: Improve translator comments for strings in the community events widget.
...
Props dimadin, iandunn.
Fixes #40865 .
Built from https://develop.svn.wordpress.org/trunk@40866
git-svn-id: http://core.svn.wordpress.org/trunk@40716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 09:49:42 +00:00
Dominik Schilling
7737e48a21
About: Sync tagline from about page with credits and freedoms.
...
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40865
git-svn-id: http://core.svn.wordpress.org/trunk@40715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 09:24:43 +00:00
Dominik Schilling
0e82284d87
Multisite: Revert indentation of the sample page content added in [40296].
...
Props swissspidy.
Fixes #40895 .
Built from https://develop.svn.wordpress.org/trunk@40864
git-svn-id: http://core.svn.wordpress.org/trunk@40714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 09:16:40 +00:00
Mel Choyce
d69e67581f
About: Finalize strings.
...
Props: bridgetwillard, jenblogs4u, michelleweber, flixos90, johnbillion, francina, voldemortensen, melchoyce.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40863
git-svn-id: http://core.svn.wordpress.org/trunk@40713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 03:14:41 +00:00
Mel Choyce
69a7ab7d37
About: Add Link Boundary video and update poster image.
...
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40861
git-svn-id: http://core.svn.wordpress.org/trunk@40711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-31 18:02:44 +00:00
Mel Choyce
530577a670
About: Introduce design and add link to Media Widgets API dev note.
...
Props: ryelle rclations melchoyce westonruter.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40849
git-svn-id: http://core.svn.wordpress.org/trunk@40700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-27 15:04:43 +00:00
Andrew Ozz
b015889bb8
About: Further polish for Under The Hood.
...
Props: melchoyce apmarshall obenland. General props for the About page: hedgefield reportermike.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40841
git-svn-id: http://core.svn.wordpress.org/trunk@40692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 17:53:40 +00:00
Adam Silverstein
5f411ba353
Plugins: fix regression in search input field size.
...
Fix a formatting regression introduced in [40792] which attempted to resize the input for mobile, see #40130 .
Props leemon, juhise, voldemortensen.
Fixes #40857 .
Built from https://develop.svn.wordpress.org/trunk@40840
git-svn-id: http://core.svn.wordpress.org/trunk@40691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 15:22:42 +00:00
Konstantin Obenland
25c2b2cab7
About: Further polish for feature descriptions.
...
Also adds Under The Hood content.
Props apmarshall, azaozz, iandunn, bridgetwillard, melchoyce.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40838
git-svn-id: http://core.svn.wordpress.org/trunk@40689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 15:11:42 +00:00
Weston Ruter
bb2e8b0d63
Widgets: Ensure that audio and video files appear in media library browser upon upload.
...
Props timmydcrawford.
Amends [40640].
See #32417 , #39994 , #39995 .
Fixes #40803 .
Built from https://develop.svn.wordpress.org/trunk@40836
git-svn-id: http://core.svn.wordpress.org/trunk@40687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 03:20:41 +00:00
Weston Ruter
478d7730b6
Widgets: Prevent multiple items from being selectable when first populating a media widget.
...
Amends [40640].
Props obenland, timmydcrawford.
See #32417 .
Built from https://develop.svn.wordpress.org/trunk@40827
git-svn-id: http://core.svn.wordpress.org/trunk@40684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-24 05:31:42 +00:00
Adam Silverstein
5cc6c39430
Themes: improve browser history support on new themes page.
...
When closing the theme preview, restore the previously selected tab. Avoid an issue where duplicate entries in the history prevented navigation. When re-opening the preview, remove bound event handlers before re-adding them.
Props afercia.
Fixes #36613 .
Built from https://develop.svn.wordpress.org/trunk@40824
git-svn-id: http://core.svn.wordpress.org/trunk@40681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-23 20:32:44 +00:00
Andrea Fercia
3aabc09e9c
Administration: Fix some HTML validation errors.
...
Fixes some minor HTML issues in the admin and, most notably, changes the rel
attribute used in the List Tables from `rel="permalink"` to `rel="bookmark"`.
Props mihai2u, pento, arena, topher1kenobe, michalzuber, stubgo.
Fixes #37004 .
Built from https://develop.svn.wordpress.org/trunk@40823
git-svn-id: http://core.svn.wordpress.org/trunk@40680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-23 17:58:43 +00:00
Sergey Biryukov
da0a505497
Administration: Update the docs for wp_check_browser_version()
.
...
Correct `update_url` key name, add missing `platform` key.
Props coffee2code.
Fixes #40839 .
Built from https://develop.svn.wordpress.org/trunk@40822
git-svn-id: http://core.svn.wordpress.org/trunk@40679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-23 00:17:42 +00:00
Weston Ruter
6e935e7f20
Widgets: Further refine WP JS coding style in media widgets code.
...
Props afercia.
See #32417 .
Built from https://develop.svn.wordpress.org/trunk@40821
git-svn-id: http://core.svn.wordpress.org/trunk@40678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-22 22:05:42 +00:00
Dominik Schilling
24a7666e69
About: Remove a stray quotation mark.
...
Props odysseygate.
See #40721 .
Fixes #40837 .
Built from https://develop.svn.wordpress.org/trunk@40814
git-svn-id: http://core.svn.wordpress.org/trunk@40672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-22 15:02:43 +00:00
Dominik Schilling
96549c5022
Widgets: Remove unused JS variable to fix JSHint error introduced in [40640].
...
See #39994 .
Built from https://develop.svn.wordpress.org/trunk@40811
git-svn-id: http://core.svn.wordpress.org/trunk@40669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-20 09:45:42 +00:00
Weston Ruter
039397721e
Widgets: Introduce isHostedVideo
method on VideoWidgetControl
to allow plugins to extend for recognizing services beyond YouTube and Vimeo.
...
Also update jshint configuration in Gruntfile to include the widget scripts among the JS files linted.
Props timmydcrawford.
See #39994 .
Fixes #40808 .
Built from https://develop.svn.wordpress.org/trunk@40810
git-svn-id: http://core.svn.wordpress.org/trunk@40668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-20 04:18:41 +00:00
Sergey Biryukov
2c5e9a34b2
Dashboard: Change the cache key for dashboard RSS widget; remove the unnecessary database upgrade routine.
...
Props iandunn, ocean90.
See #40702 .
Built from https://develop.svn.wordpress.org/trunk@40803
git-svn-id: http://core.svn.wordpress.org/trunk@40661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 19:14:42 +00:00
Sergey Biryukov
a2788b09d5
Dashboard: Append the current locale to dashboard RSS widget cache key in wp_dashboard_rss_control()
, for consistency with the changes to wp_dashboard_cached_rss_widget()
in [33183] and [33192].
...
See #32804 , #40702 .
Built from https://develop.svn.wordpress.org/trunk@40802
git-svn-id: http://core.svn.wordpress.org/trunk@40660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 19:00:44 +00:00
Joe McGill
7d43d71800
Media: Ensure WP_Screen sets post type on wp-admin/upload.php.
...
The post type property is set to 'attachment' when on the upload screen.
Props postpostmodern.
Fixes #39509 .
Built from https://develop.svn.wordpress.org/trunk@40800
git-svn-id: http://core.svn.wordpress.org/trunk@40658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 18:29:42 +00:00
Andrea Fercia
1a8f7ab144
Dashboard: Don't trigger an Events search when the search field is empty.
...
Fixes #40816 .
Built from https://develop.svn.wordpress.org/trunk@40799
git-svn-id: http://core.svn.wordpress.org/trunk@40657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 17:27:43 +00:00
Konstantin Obenland
92642624fd
About: Optimize strings for l10n
...
Uses html entities for quotes and adds translator comment for event links.
Props ocean90.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40798
git-svn-id: http://core.svn.wordpress.org/trunk@40656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 16:45:44 +00:00
Andrea Fercia
e008a5c7db
Themes: Improve the theme installer Favorites and Feature Filter tabs alignment.
...
Props nitin kevadiya, darshan02, mp518.
Fixes #40315 .
Built from https://develop.svn.wordpress.org/trunk@40797
git-svn-id: http://core.svn.wordpress.org/trunk@40655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 16:18:41 +00:00
Konstantin Obenland
359cc45e08
Docs: Improve inline docs for inlineEditPost.
...
Props jjcomack, rensw90.
Fixes #39823 .
Built from https://develop.svn.wordpress.org/trunk@40796
git-svn-id: http://core.svn.wordpress.org/trunk@40654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 15:45:42 +00:00