Commit Graph

36738 Commits

Author SHA1 Message Date
Weston Ruter d3226f6041 Media: Restrict appending `loop` parameter to Vimeo URLs specifically and not all external URLs in Video widget (via shortcode).
Fixes issue where Video widgets embedding external files fail to get recognized due to the presence of the `loop` param after the video filename, even though it has a recognized extension. Regardless, the `loop` param is only present to fix a Vimeo issue in ME.js 2.x.

Props timmydcrawford.
Amends [40640].
See #39686, #39994.
Fixes #40977.


git-svn-id: https://develop.svn.wordpress.org/trunk@40892 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-09 19:28:12 +00:00
Aaron Jorbin 774e82b540 About Page: update CSS with prefixes
Seconded by melchoyce.

See #40721.



git-svn-id: https://develop.svn.wordpress.org/trunk@40885 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-08 04:50:42 +00:00
Aaron Jorbin c06573ec7f Bundled Themes - Bump themes in preparation for 4.8
Change version numbers in stylesheets, fix typo in Twenty Fourteen readme and update copyright dates for themes. Twentysixteen wasn't updated this cycle.

See #40745 for changes that helped push this along.
Fixes #40905.
Props davidakennedy, mrahmadawais, maedahbatool.



git-svn-id: https://develop.svn.wordpress.org/trunk@40883 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-08 04:39:42 +00:00
Sergey Biryukov 3048eb8bd3 Docs: Add missing closing quote for 'Restore' in `post_row_actions` and `page_row_actions` filters documentation.
See #26397.

git-svn-id: https://develop.svn.wordpress.org/trunk@40882 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-07 23:10:15 +00:00
Mel Choyce 5bf914bb96 About: Swap out images and videos for CDN versions, and add responsive images.
Props: joemcgill, pento.
See #40721. 


git-svn-id: https://develop.svn.wordpress.org/trunk@40881 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-07 22:06:16 +00:00
Dominik Schilling (ocean90) abbfbca7a8 Upgrade: Add `wp-includes/js/tinymce/plugins/wpembed` to `$_old_files`.
See #39513.
Fixes #40942.

git-svn-id: https://develop.svn.wordpress.org/trunk@40879 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-07 21:31:32 +00:00
Andrea Fercia 4379d2ff69 Dashboard: Better titles for the Recent Drafts widget.
- changes "Drafts" to "Your Recent Drafts" to clarify displayed drafts are the ones from the current user
- clarifies and simplifies the "View all" link

Props soniakash, sudar, bhargavbhandari90, zachwtx, johnroper100, rcutmore.
Fixes #37595.


git-svn-id: https://develop.svn.wordpress.org/trunk@40877 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-05 11:59:51 +00:00
Adam Silverstein 99369b9f7b Media: Fix an issue selecting media when clicking item edges.
Adjust targeting of the click handler for media item selection so clicking edges of media items properly selects them.

Props circlecube, psiico.
Fixes #40578.



git-svn-id: https://develop.svn.wordpress.org/trunk@40874 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-05 00:48:19 +00:00
John Blackbourn cc01df2bc8 Build/Test Tools: I don't know how this happened.
See #39822


git-svn-id: https://develop.svn.wordpress.org/trunk@40873 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-02 14:10:56 +00:00
John Blackbourn 0ab7067286 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.

Props jdgrimes

See #39822


git-svn-id: https://develop.svn.wordpress.org/trunk@40872 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-02 13:17:30 +00:00
Ella Van Dorpe f87f1d8286 Trunk is really 4.9-alpha now
git-svn-id: https://develop.svn.wordpress.org/trunk@40871 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 22:07:51 +00:00
Ella Van Dorpe 3c1dfef4ba Trunk is now 4.9-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@40870 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 21:47:10 +00:00
Ella Van Dorpe 8e65f5bad1 Bump version after RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@40868 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 21:21:29 +00:00
Ella Van Dorpe a8d94fab61 Bump version for WordPress 4.8 RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@40867 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 20:39:47 +00:00
Dominik Schilling (ocean90) c6c16f5336 I18N: Improve translator comments for strings in the community events widget.
Props dimadin, iandunn.
Fixes #40865.

git-svn-id: https://develop.svn.wordpress.org/trunk@40866 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 09:48:41 +00:00
Dominik Schilling (ocean90) e7e088143d About: Sync tagline from about page with credits and freedoms.
See #40721.

git-svn-id: https://develop.svn.wordpress.org/trunk@40865 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 09:23:31 +00:00
Dominik Schilling (ocean90) 7aa4dc493c Multisite: Revert indentation of the sample page content added in [40296].
Props swissspidy.
Fixes #40895.

git-svn-id: https://develop.svn.wordpress.org/trunk@40864 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 09:15:40 +00:00
Mel Choyce 7a7bcb82fc About: Finalize strings.
Props: bridgetwillard, jenblogs4u, michelleweber, flixos90, johnbillion, francina, voldemortensen, melchoyce.
See #40721.


git-svn-id: https://develop.svn.wordpress.org/trunk@40863 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-01 03:13:15 +00:00
Andrew Ozz 3cdc7e14af TinyMCE: Force urlencoding of commas in URLs added by plugins to prevent warnings about missing stylesheets.
Fixes #40893.

git-svn-id: https://develop.svn.wordpress.org/trunk@40862 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-31 22:03:02 +00:00
Mel Choyce 1f741fffb3 About: Add Link Boundary video and update poster image.
See #40721.


git-svn-id: https://develop.svn.wordpress.org/trunk@40861 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-31 18:01:45 +00:00
Andrew Ozz 09c0c12412 TinyMCE: update to 4.6.3. Fixes few more edge cases with link boundaries. Changelog: https://www.tinymce.com/docs/changelog/#version463-may302017
Fixes #40890.

git-svn-id: https://develop.svn.wordpress.org/trunk@40856 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-30 23:35:01 +00:00
John Blackbourn d4218aae7f Build/Test Tools: Add a missing class to the PHPUnit 6 back compat.
See #39822


git-svn-id: https://develop.svn.wordpress.org/trunk@40853 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-30 22:06:56 +00:00
Konstantin Obenland fc1a96710b Twenty Sixteen: Add missing binary files
They slipped through the cracks when applying/creating patches.

See [40851], #36497.


git-svn-id: https://develop.svn.wordpress.org/trunk@40852 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-30 21:52:39 +00:00
Konstantin Obenland 65088c4176 Importing Twenty Sixteen, default theme for 2016.
Fixes #36497.


git-svn-id: https://develop.svn.wordpress.org/trunk@40851 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-30 21:20:20 +00:00
Gary Pendergast 034b3f4c77 Emoji: Fix the flag and emoji5 tests not working correctly.
Fixes the UN flag not being correctly compared to itself, introduced in [40837].

Replaces the bearded person check with a male fairy. Emoji 5 does not have gendered bearded people, so we needed to switch it out to use the ZWJ check for a broken render.

Props peterwilsoncc for the code and commit message.
Fixes #40858.




git-svn-id: https://develop.svn.wordpress.org/trunk@40850 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-29 03:20:11 +00:00
Mel Choyce d79ef7e73e About: Introduce design and add link to Media Widgets API dev note.
Props: ryelle rclations melchoyce westonruter.
See #40721.


git-svn-id: https://develop.svn.wordpress.org/trunk@40849 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-27 15:03:08 +00:00
Andrew Ozz 43f2ae7292 TinyMCE: update to the TINY-1079 (latest) branch. Fixes several edge cases including the errors thrown when moving the caret with the arrow keys around nested `<a><code>` elements.
Fixes #40874 #40868.

git-svn-id: https://develop.svn.wordpress.org/trunk@40848 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-27 02:08:59 +00:00
Weston Ruter 289965b097 Widgets: Normalize YouTube and Vimeo URLs in `video` shortcode (primarily for Video widget) to work around ME.js 2.22 bug.
Props timmydcrawford, jnylen0, westonruter.
See #32417, #39994.
Fixes #40866.


git-svn-id: https://develop.svn.wordpress.org/trunk@40847 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-26 23:09:42 +00:00
Andrew Ozz 31c9647279 Bump version after RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@40846 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 20:33:40 +00:00
matveb ea386a328b WordPress 4.8 RC1.
git-svn-id: https://develop.svn.wordpress.org/trunk@40845 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 18:44:02 +00:00
James Nylen 299a140fb7 Revert [40842] due to failing tests.
See #19629.


git-svn-id: https://develop.svn.wordpress.org/trunk@40844 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 18:27:08 +00:00
John Blackbourn 05434d0c07 REST API: In the admin area, ensure the REST API endpoint URL is forced to `https` when necessary.
In this situation, a site which uses `http` on the front end but `https` in the admin area is more likely to have a working REST API endpoint URL when used in the admin area.

Props mohanjith, westonruter, jnylen0

Fixes #36451


git-svn-id: https://develop.svn.wordpress.org/trunk@40843 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 18:01:16 +00:00
Mike Schroder cbc3829b62 Media: Introduce tests for `media_sideload_image()`.
Adds basic tests for `media_sideload_image()`, including testing
the return arguments.

Props westonruter, mikeschroder.
Fixes #19629.

git-svn-id: https://develop.svn.wordpress.org/trunk@40842 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 18:00:28 +00:00
Andrew Ozz 0aed06d7e1 About: Further polish for Under The Hood.
Props: melchoyce apmarshall obenland. General props for the About page: hedgefield reportermike.
See #40721.

git-svn-id: https://develop.svn.wordpress.org/trunk@40841 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 17:52:35 +00:00
Adam Silverstein f7872f14ff 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. 



git-svn-id: https://develop.svn.wordpress.org/trunk@40840 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 15:21:21 +00:00
Konstantin Obenland 7bfc57f000 Default themes: Improve styles for 4.8 widgets
Mostly adds styles for lists and mediaelement.js instances within widgets.
Adds size classname to image widget so themes can customize their display.

Props Soean, obenland, celloexpressions, ocean90, karmatosed.
Fixes #40745.



git-svn-id: https://develop.svn.wordpress.org/trunk@40839 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 15:18:04 +00:00
Konstantin Obenland ed40010daa About: Further polish for feature descriptions.
Also adds Under The Hood content.

Props apmarshall, azaozz, iandunn, bridgetwillard, melchoyce.
See #40721.



git-svn-id: https://develop.svn.wordpress.org/trunk@40838 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 15:10:03 +00:00
Peter Wilson e0013072d1 Emoji: Add Emoji 5 support.
Updates Twemoji to 2.3.0 to include Emoji 5 support.

The pride flag test is replaced with a test for the English flag, a five character sub-devision locale. The UN flag test is retained as the most recent two character locale.

An Emoji 5 "bearded person" replaces both Emoji 4 tests.

Fixes #40858.



git-svn-id: https://develop.svn.wordpress.org/trunk@40837 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 07:17:57 +00:00
Weston Ruter 5439e18798 Widgets: Ensure that audio and video files appear in media library browser upon upload.
Props timmydcrawford.
Amends [40640].
See #32417, #39994, #39995.
Fixes #40803.


git-svn-id: https://develop.svn.wordpress.org/trunk@40836 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 03:19:09 +00:00
Weston Ruter 1e63cdcf38 Widgets: Supply missing descriptions for instance schema fields in media widgets.
Reuse translated strings from media templates.

Amends [40640].
See #32417.


git-svn-id: https://develop.svn.wordpress.org/trunk@40835 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 02:58:21 +00:00
Andrew Ozz f26acaeb99 TinyMCE: update to 4.6.2. Changelog: https://www.tinymce.com/docs/changelog/#version462-may232017.
Fixes #40859 #40756.

git-svn-id: https://develop.svn.wordpress.org/trunk@40834 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-25 01:13:15 +00:00
Weston Ruter 6d02212d57 Widgets: Prevent multiple items from being selectable when first populating a media widget.
Amends [40640].
Props obenland, timmydcrawford.
See #32417.


git-svn-id: https://develop.svn.wordpress.org/trunk@40827 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-24 05:31:00 +00:00
Konstantin Obenland f8dabb5b35 Themes: Skip tests if ReflectionMethod::setAccessible is unavailable
See [40825].


git-svn-id: https://develop.svn.wordpress.org/trunk@40826 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-23 22:15:08 +00:00
Konstantin Obenland 38c32bdcdb Themes: More unit tests for Custom Header
Custom Header functionality is largely untested. This adds tests for existing
behavior as well as changes introduced in [39227].

Props bradyvercher.
See #38639.
Fixes #39241.


git-svn-id: https://develop.svn.wordpress.org/trunk@40825 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-23 20:55:16 +00:00
Adam Silverstein b83c9d4e7f 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@40824 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-23 20:32:00 +00:00
Andrea Fercia 4f83e56f58 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@40823 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-23 17:57:42 +00:00
Sergey Biryukov 2b38449795 Administration: Update the docs for `wp_check_browser_version()`.
Correct `update_url` key name, add missing `platform` key.

Props coffee2code.
Fixes #40839.

git-svn-id: https://develop.svn.wordpress.org/trunk@40822 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-23 00:16:43 +00:00
Weston Ruter c1661ecbb3 Widgets: Further refine WP JS coding style in media widgets code.
Props afercia.
See #32417.


git-svn-id: https://develop.svn.wordpress.org/trunk@40821 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-22 22:04:03 +00:00
Weston Ruter a13711a3da Post-4.8 Beta 2 bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@40820 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-22 21:42:28 +00:00
Weston Ruter 787c1a3f49 WordPress 4.8 Beta 2 ([40807] again)
git-svn-id: https://develop.svn.wordpress.org/trunk@40819 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-22 21:13:42 +00:00