Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept IETF language tags, plus accessible play/pause button -- "iet-ou/cr1262/a11y" #1270

Merged
merged 3 commits into from Nov 6, 2014

Conversation

nfreear
Copy link
Collaborator

@nfreear nfreear commented Aug 7, 2014

Related bugs: #1262, #1263.

Hi John,

Please pull these three commits when you have time. Note, I haven't rebuilt mediaelement-and-player.js etc. - I wasn't sure what the etiquette was.

Here is a demo of internationalization.

I hope this is useful. The first of several!

Thank you,

Nick

@OlivierJaquemet
Copy link
Contributor

Nice improvement. ISO-639-1 is definitely too limited !
I have a separate pull request (#1310) with new I18Ned languages, they are all compatible with the new behavior. But I would prefer that existing chinese translation be renamed zh-Hant & zh-Hans rather than the existing and confusing zh / zh-CN respectively.

@johndyer
Copy link
Collaborator

johndyer commented Nov 1, 2014

Any chance you could rebase this so we can merge it more easily? Thanks!

…on/i18n

* Plus, allow language/ language pack to be set semi-dynamically
* Relates to, mediaelement#1210 - maybe?
* mediaelement#1262
* Separate "Play" and "Pause" text, depending on current state
* TODO: adjust translations
… in language Javascripts

* Plus, removing language-translation JS from Gruntfile.js
@nfreear
Copy link
Collaborator Author

nfreear commented Nov 3, 2014

Hi @johndyer - I've rebased to resolve the merge conflict. I hope that is sufficient.

Hi @OlivierJaquemet, Sorry I didn't respond sooner.

You are of course technically correct to favour "zh-hans" (or zh-Hans) and so on. However, actual implementations are split... A quick straw poll suggests that more software favours the non-correct (legacy?) "zh-cn"

"zh-hans" / zh-hant - Drupal:

"zh-cn" / "zh-CN" / zh-tw (zh-hk!) - WordPress, Moodle, Firefox download, Firefox preferred languages, Chrome language & input settings ...

If you still wish to pursue the "zh-hans" change, can I suggest that you create a separate bug report/ pull request (you may already have done so).

Thank you both,

Nick

@OlivierJaquemet
Copy link
Contributor

Hi @nfreear, my preference is to use the most up to date standard, that is BCP-47 (zh-hant/zh-hans), (aka IETF language tag), and not the simple and uncomplete ISO-639-x.

http://en.wikipedia.org/wiki/IETF_language_tag

That said :

  • for existing project I completely understand the use of ISO-639-x, as an example, the content management system Jalios JCMS which I maintain uses a mix of both for backward compatibility.
  • ISO-639 is a subset of BCP-47 so keeping existing language code is fine to me

johndyer added a commit that referenced this pull request Nov 6, 2014
Accept IETF language tags, plus accessible play/pause button -- "iet-ou/cr1262/a11y"
@johndyer johndyer merged commit 85d8385 into mediaelement:master Nov 6, 2014
aaronjorbin pushed a commit to aaronjorbin/develop.wordpress that referenced this pull request Nov 30, 2014
mediaelement/mediaelement#1270

Reverts [28801].
Fixes #29182.


git-svn-id: https://develop.svn.wordpress.org/trunk@30637 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Nov 30, 2014
dxw-deploy pushed a commit to dxw/wordpress that referenced this pull request Nov 30, 2014
svn2github pushed a commit to svn2github/wp-svn-2-git that referenced this pull request Nov 30, 2014
bakulev pushed a commit to bakulev/word-test that referenced this pull request Dec 2, 2014
BronsonQuick pushed a commit to Chassis/Chassis that referenced this pull request Dec 19, 2014
e5e791f Tag 4.1
7f36f7b WordPress 4.1
9917bc6 Cache-bust CDN URLs, as the images have been optimized.
4c59429 About page: CDN images.
9b8bf43 Update theme POT files in the 4.1 branch.
0b64c32 Bundled Themes: bump version numbers to coordinate with 4.1 release.
2921c65 Update bundled theme POT files in the 4.1 branch.
a71f4d4 4.1 RC3
e4c35bd Twenty Fifteen: use better, universal sans-serif fonts for RTL, similar to Twenty Ten which also had serif fonts throughout.
ed60d52 Update individual term caches in `get_terms()`.
a0d667a Twenty Fifteen: Final RTL, editor-style, and search padding fixes.
6ace544 About page RTL fixes.
2fba9b2 About: Fix the WordPress badge.
3f08968 Pass locale to wordpress.org theme/plugin API.
b07eaf3 Twenty Fifteen: hide search input cancel button.
7486afd Add braces around a Docblock in an if statement, although not required by PHP, this is required by our coding standards for readability. Introduced in 3.9 with r27365
de9f42c Editor, new DFW: fix fading out for the right sidebar in IE.
c69d37d Twenty Twelve: fix widget stacking problem in older IE browsers for Front Page template.
608ed06 No need for wp_get_password_hint() to be prefixed as if it is private.
01d91c3 Twenty Fifteen: fallback hex color for no-comments text should come first.
264ac59 Twenty Fifteen: update scroll functionality to make sure child menu items are always reachable.
013133f Twenty Fifteen, editor-style: remove margin-bottom from the gallery preview inside the editor.
7de0d9b Merge Twenty Fifteen commits [30834], [30845] to the 4.1 branch. Built from https://develop.svn.wordpress.org/branches/4.1@30936
49e9049 Merge Twenty Fifteen commits [30828], [30833], [30869] to the 4.1 branch. Built from https://develop.svn.wordpress.org/branches/4.1@30935
d41a069 Fix MEjs styles for screen reader text and overflow on the volume slider.
911874c Twenty Fifteen: Use dynamic default color value instead of hardcoded color.
84b9ec9 Customizer: Add `_wp_attachment_is_custom_background` meta to uploaded background images.
2b12434 Last about page string. Merges [30929] to the 4.1 branch.
0e79ad1 4.1 RC2
2ca8a82 Twenty Fifteen: Don't save unfiltered CSS in a setting.
ca16a48 Twenty Fifteen: Remove various unnecessary `esc_html()` calls and replace various unnecessary `esc_html_x()` calls with `_x()`.
395e007 Twenty Fifteen: Remove `esc_html()` from blog description.
1a42760 Twenty Fifteen: Don't escape translated strings.
aea153b Customizer: Export Preview instance to `wp.customize.preview`.
9d8bc7a Make the DFW paragraph on the About page narrower to mitigate an orphan in Firefox.
1b4e81a Background Updates: Pass back whether Group Writable support is being leveraged for an update to the WordPress.org API.
7cc8dd8 Improve the fix for menu shakiness when over-scrolling. Recalculate heights on editor auto-resize.
7736e25 Fix menu shakiness when over-scrolling in Chrome and Safari on MacOS.
2c5c4f0 Customizer: Import missing `wp.customize.Control.prototype._toggleActive`.
3f71a91 Customizer: Remove date filter from the Header/Background Image upload frames.
db3f244 Remove caching for `get_term_by()` calls.
b677991 Revert [30036].
b7cb613 Customizer: Re-add the possibility to remove and restore a default background image.
46ff132 iOS: do not autofocus the readonly textarea with the code for wp-config.php in setup-config.php.
7dd30dc Do not autofocus text fields on page load on mobile devices. This is currently broken in many mobile browsers: - iOS Safari opens the keyboard and auto-scrolls on the first tap anywhere on the screen triggering the click at an unexpected place. That makes it impossible to follow links or press buttons. - Chrome on iOS opens the keyboard on load and may scroll the focused field off screen. - The Android 4.4 browser only highlights the field, the user has to tap it to open the keyboard and type.
88cd5c5 TinyMCE: remove reposition delay on showing the image toolbar. Not needed when no animation.
a4b0eff Move a `<code>` tag out of a localised string on the About page.
3a78c06 Autoprefixer for [30857].
bc2b5e6 Update/add plugin recommendation strings.
337444a Updates to the 'Log out everywhere' implementation.  * Include a message and a disabled button when you're only logged in at one location.  * Avoid leaking the session token in HTML.  * Simplify, simplify, simplify.
dcf4320 Finalize two more about page strings.
20321d7 Call it 'Distraction-free writing mode' and update the help string.
d90f484 Update Akismet external to 3.0.4 in the 4.1 branch.
409ea27 Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet.
9a88013 Twenty Fifteen: remove Genericons as a dependency from loading the main stylesheet.
dc488ed Twenty Fifteen: remove fonts as a style dependency.
45c28a1 Correct the height of the search type `select` element when searching the plugin directory.
8e7db5e Fix search box position on the Add Plugins screen after resizing the window to narrower than 1000px and then back to wider than 1200px.
5b317eb Twenty Fifteen: remove license details for the image shown in the theme  screenshot file as it is Creative Commons Zero, which doesn't require attribution.
4812d2a Clarify the behaviour of the `wp_editor_set_quality` and `jpeg_quality` filters.
296a23c Rename _wp_clear_update_cache() to wp_clean_update_cache().
709da31 Avoid repeatedly calling is_tax( 'post_format', '...' ) in get_the_archive_title().
8326ab1 Customizer: Don't escape control descriptions in JavaScript templates.
b21241c TinyMCE: add another `Edit` translatable string for the tooltip of the Edit button on the image toolbar.
23baee5 TinyMCE: make the tooltip for the remove button in the image toolbar translatable.
5d800b2 About page design for 4.1.
5b0729a About page updates.  * Live-update the number of active translations.  * Finalize most strings.  * Lazily remove links to admin-only screens based on cap checks.
5a40287 Revisions: Fix initial state of `compareTwoMode`.
bb16b3b Improve text for the DFW admin pointer. Remove the concatenation. Props kpdesign, ianmjones.
2fc06d0 In `WP_Meta_Query`, interpret 'value' correctly when used with EXISTS/NOT EXISTS.
deec4ec 4.1 RC1
2827fd2 Switch to `(get_)the_posts_pagination()` in Twenty Fifteen.
e2ad21e Rename `(get_)the_pagination()` to `(get_)the_posts_pagination()` for clarity.
7918030 About page text, first pass.
28c8a77 Allow the `type` argument to be passed through `get_the_pagination()` as long as its value isn't `array`.
1db4d4e Editor focus: Don't trigger when typing while the mouse is outside the editor.
96b5fdc Fix the search field width in the media modal, media library grid and on the install new plugins screen.
98211e7 TinyMCE, image toolbar: remove the animation and make the box-shadow lighter.
c103b48 Merge Twenty Fifteen commits [30801-30806], [30808-30811] to the 4.1 branch.
3b5c56d WPDB: In [30345,30346,30366,30375], we added sanity checks for saving posts containing emoji. We need to revert these checks for now, as they're not ready for release in 4.1.
28e0fef Branch 4.1
d72fac0 Twenty Fifteen: Replace encoded HTML entities in the file header DocBlock for header.php with 'head element'.
2428fce Dashicons: Update to the latest files.
64fb3e7 In Twenty Fourteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
e9f7c78 In Twenty Thirteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
18349e8 Remove a stray $ from [30793].
332e0a7 Themes: Use Customizer deep-links inside the theme modal.
93078d7 Fix JSHint error introduced in [30780].
0ef8e68 Revert [28948], which caused a regression.
aa9fa42 Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.
3ec5588 Twenty Fifteen: layout correction for IE8 and IE7 after r30388 introduced a defect with the header there.
b218504 Move the logic from WP_Image_Editor::get_quality() to WP_Image_Editor::set_quality(), so that 'wp_editor_set_quality' and 'jpeg_quality' filters run when setting the default value.
fbb5c1f Improve the `doing_it_wrong()` text for `title-tag` theme support.
210b515 Clean up factory arguments in ms-sites group.
1e6c83c Split current tests for `update_blog_status()`
96bb224 Split current tests for `update_blog_details()`
a702c60 Incorporate https://github.com/johndyer/mediaelement/pull/1385 into our custom build of MediaElement 2.16.2.
a445806 Plugins: move the recommender results to a separate tab. Any outstanding quality issues will be fixed on the API side without needing core changes. Props tellyworth, fixes #30337. Built from https://develop.svn.wordpress.org/trunk@30782
7f0526a Twenty Fifteen: add spaces after screen reader text strings to make them readable. Props nvwd, pavelevap, afercia. Fixes #30606. Built from https://develop.svn.wordpress.org/trunk@30781
3199081 Media: ensure the toolbar is shown after leaving iframe-based content. Props mcsf, fixes #30608. Built from https://develop.svn.wordpress.org/trunk@30780
24090d0 Fix formatting in the DocBlock for `wp_get_sidebars_widgets()`.
16e46b2 Flesh out and fix formatting in the DocBlock for `wp_register_widget_control()`.
845e8ab When using the spacebar to select something in "bulk select" mode, don't scroll the page.
cc4d102 Flesh out information in the DocBlock for `wp_register_sidebar_widget()`.
498c5d7 TinyMCE: return focus to the editor after closing the image toolbar. Props afercia, see #27642. Built from https://develop.svn.wordpress.org/trunk@30775
1f8f2e5 Introduce documentation for three methods in `WP_Widget_Factory`: `register()`, `unregister()`, `_register_widgets()`.
25a65d8 Introduce documentation for the `$id_base`, `$name`, `$widget_options`, `$control_options`, `$number`, `$id`, and `$updated` properties in `WP_Widget'.
ced9474 Tweak formatting in the DocBlock for the `install_themes_tabs` hook.
7e69e54 In `WP_Query::get_queried_object()`, use the new format for referencing tax query clauses.
8b83a73 Document the default arguments for `the_widget()` in the hash notation style.
2a9c591 Document the default arguments for `register_sidebars()` in the hash notation style.
7c01a45 Improve inline documentation for `wpdb::has_cap()`.
0cbaa88 Fix a typo in the DocBlock for `WP_Http_Curl::$bytes_written_total` introduced in [29968].
e0ac8c0 In the `links_add_base()` callback, use a HTTP-aware URL joining function, rather than a filesystem joining function to avoid PHP warnings on certain systems. Fixes #29950
26b85eb WP_HTTP: Revert r30491 which updated the bundled root certificates. There's a report that this is breaking under certain PHP/OpenSSL versions (which we've encountered before), and we're safer with a slighty out of date CA bundle than breaking HTTPS communication on affected sites. See #30434
1e9f575 Admin toolbar: remove unneeded overrides of `z-index` and `left` on screens narrower than 782px. Props avryl, babbardel. Fixes #29867. Built from https://develop.svn.wordpress.org/trunk@30764
adf4f44 Twenty Fifteen: clean up of `twentyfifteen_color_scheme_css_template()` in customizer.php. Props iamtakashi. Fixes #30601. Built from https://develop.svn.wordpress.org/trunk@30763
ef0501e Better docs for `Plugin_Upgrader::deactivate_plugin_before_upgrade()`. Props DrewAPicture. Fixes #29088. Built from https://develop.svn.wordpress.org/trunk@30762
1bb4b6a Always return a value in `Plugin_Upgrader::deactivate_plugin_before_upgrade()`. Props jdgrimes. Fixes #29088. Built from https://develop.svn.wordpress.org/trunk@30761
53d22ff Customizer - Widgets: add feedback for screen readers when moving up or down. Props adamsilverstein, afercia. Fixes #28892. Built from https://develop.svn.wordpress.org/trunk@30760
337dfe7 Restore missing line in DocBlock for `WP_Tax_Query::get_sql_for_clause()`.
473ebca Add missing DocBlocks and parameter descriptions for a wide variety of properties and methods in `WP_Upgrader`, `Plugin_Upgrader`, `Theme_Upgrader`, `Language_Pack_Upgrader`, `Core_Upgrader`, and `File_upload_Upgrader`.
efe8fd4 TinyMCE, improve accessibility: - Return focus to the editor on pressing Escape while the image toolbar is focused. - Add a Close button to the Help modal and close it on Escape. - Override the title on the editor iframe (read by screen reader apps), replace with the Alt+Shift+H shortcut. - Add focus shortcuts descriptions to the Help modal. Fixes #27642. Built from https://develop.svn.wordpress.org/trunk@30757
bb27a3c Add a blank line preceding a Markdown-formatted ordered list in the DocBlock for the `admin_body_class` filter.
cc4ac90 Fix a typo in the return description for `get_sample_permalink()`.
bdd00b3 Improve various hook and filter docs so they are correctly parsed for the code reference.
23707b1 Convert various uses of `(optional)` in core parameter descriptions to use the style prescribed in the inline documentation standards for PHP.
14b0899 Revert [28719] and no longer math-process multiplication of negative numbers
bc35a81 Remove `<code>` tags from translatable string in `WP_Date_Query`.
44116d4 Use `wp_checkdate()` when checking date validity in `WP_Date_Query`.
79eb593 Editor DFW v2: fade out the Screen Options/Help tabs when open. Props avryl, fixes #30593. Built from https://develop.svn.wordpress.org/trunk@30749
91b8617 TinyMCE: manually fire `ExecCommand` when aligning images as we do `preventDefault()` on `BeforeExecCommand` for them. Props avryl, fixes #30565. Built from https://develop.svn.wordpress.org/trunk@30748
3826c2d Themes screen: fix the position of the search field. Props jesin, fixes #29556. Built from https://develop.svn.wordpress.org/trunk@30747
1ce4456 Twenty Twelve: menu on touch devices: fix jQuery selector for menu items with submenus. props babbardel, fixes #24767. Built from https://develop.svn.wordpress.org/trunk@30746
0c7e706 Document the default arguments for `register_sidebar()` in the hash notation style.
13dab23 Add missing documentation for the `xmlrpc_element_limit` hook in wp-includes/class-IXR.php.
0a199ff Editor: fix initial state for editor-expand when TinyMCE is disabled or not supported. Props avryl, fixes #30592. Built from https://develop.svn.wordpress.org/trunk@30743
1cf7a49 Adjust [29806] and revert [29807] to restore placeholder and email copy order.
a83fdf7 Twenty Fifteen: updating customizer label text for more clarity.
f5efcf2 Filter bar: Better field display on smaller screens.
543f408 Correct the default value of the `show_split_view` argument for revisions so they are correctly displayed side by side ins tead of inline.
097e4ed Add some inline JS docs for Customizer.
82188f7 Show title, album, and artist info for audio files displayed in `WP_Customize_Upload_Control()`.
8b1b1a1 Monkey-patch MediaElement to restore H264 support to Chromium.
4862024 Give up on making uninterrupted hierarchies work in `get_page_children()` for now, reverts [30159], [30246], [30636].
1bb20da Update better description of the Screen Options checkbox for DFW v2 and editor-expand. Props johnbillion, kpdesign, fixes #30557. Built from https://develop.svn.wordpress.org/trunk@30734
f1385e4 TinyMCE: remove `<address>` from the block formats drop-down. Props avryl, mor10. Fixes #30132. Built from https://develop.svn.wordpress.org/trunk@30733
f5697a4 Twenty Fifteen: updating one point oh version number in .pot.
771c7e1 Twenty Fifteen: updating everything to one point oh.
5299e95 Editor show the DFW v2 pointer for users that have disabled the visual editor. Fixes #30458. Built from https://develop.svn.wordpress.org/trunk@30730
b6ddf3a Twenty Fifteen: It's about time we call it one point oh.
20ea28b Twenty Fifteen: removing unused styles.
1f64435 Fix a typo in [30546].
ad1ecf8 Only backtick-escape individual HTML entities in the DocBlock for `wp_kses_normalize_entities()`.
ad1f226 Improve formatting of inline documentation for `get_pages()`.
27297bc Use the correct hash notation syntax for the `wp_insert_term()` DocBlock.
68ed7af Use the correct hash notation syntax for the `get_pages()` DocBlock.
8df7115 Use the correct hash notation syntax for the `WP_Filesystem_Base::dirlist()` DocBlock.
3d77f9a Remove some now-unnecessary double quotes around HTML entities used in DocBlock comments.
8e5543d Backtick-escape three sets of HTML entities used in DocBlock descriptions in wp-includes/kses.php.
31fa5cd Split tests for `get_blog_id_from_url()`
04c2e80 Update the description of the Screen Options checkbox for turning editor-expand on/off to include DFW v2. Props kpdesign, fixes #30557. Built from https://develop.svn.wordpress.org/trunk@30718
71d0c1c Update the DFW v2 pointer text. Props kpdesign, DrewAPicture, johnbillion. Fixes #30458. Built from https://develop.svn.wordpress.org/trunk@30717
858a512 Customizer: Move private helper functions to `wp.customize.utils` so they can be unit tested.
2c25a49 Split and improve multisite tests for upload quota
0826f8e Customizer: Add panel/section type as CSS class to the HTML container.
c2d9591 Toolbar: Make Customize support classes work on narrow viewports too.
3db8b08 Customizer: Enhance Background Image/Upload controls.
f1dcfa9 Editor: hide the DFW v2 button when editor-expand is off. Fixes #30568. Built from https://develop.svn.wordpress.org/trunk@30711
ab2c480 Editor, DFW v2: use a 2D transform to force repaint of the admin toolbar, only on `#wp-toolbar`. Fixes calculating the position of the right sidebar on fade-in and removes any performance and stacking implications. Props joemcgill, see #30516. Built from https://develop.svn.wordpress.org/trunk@30710
1cb6721 Twenty Fifteen: removing unused styles inherited from Twenty Fourteen.
d58c44d Apply a no-op CSS transformation to the admin toolbar (among other elements) in order to trigger hardware acceleration when focus/DFW deactivates. This helps prevent rendering issues seen in browsers on Retina devices.
e96e165 Prevent scrolling beneath modals on mobile devices by removing overflow from `#wpwrap` when a modal is open.
a5fa873 Don't fix the position of the admin toolbar submenus when the viewport is below 600px. This avoids them becoming detached from the admin toolbar when scrolling.
9b9424a Admin help text changes for the General Settings screen, post editing screen, network settings screen, and user editing screen.
6501c3c Unit Tests: The `test_set_allowed_incompatible_sql_mode()` test tries to set the `NO_ZERO_DATE` sql mode, which was removed in MySQL 5.7. This causes the test to incorrectly fail when run against MySQL 5.7.
c4b9da8 Using let's properly in inline comments lets us move on to more pressing matters of inline documentation.
511489d Update the tests for `get_metadata()` to reflect the revert in r30701.
d28823d Revert r30115 which was a breaking change for code which interacts with the return value of `get_metadata()` when no meta key is specified.
6f3414e Correct the width of the background vignette in the plugin info modal.
de6d849 WPDB: When looking up the character set for a table or column, make sure we send the table name to MySQL in the correct case, as MySQL can be configured with case sensitive table names.
cb5c43d Don't over-target buttons in the publish meta box.
6fcf4ed Prevent the deletion of a theme while it has an active child theme.
b0a2416 Ensure the theme and plugin update checks are always in sync with the current theme and plugin versions before fetching cached update data. This change only triggers a request to the update API when necessary.
ad297da Correctly capitalize JavaScript throughout core docs.
d16c8cf TinyMCE: update the wpView toolbar to look the same as the new image toolbar. Fixes #30561. Built from https://develop.svn.wordpress.org/trunk@30694
16e54ae Editor DFW v2: do not fade out on using keyboard shortcuts in TinyMCE (Alt+Shift+letter). Fixes #30539. Built from https://develop.svn.wordpress.org/trunk@30693
c9c02be Twenty Fifteen: correct stylesheet dependencies.
4bdf996 Improve inline documentation for four methods in `WP_Widget`: `get_field_id()`, `display_callback()`, `update_callback()`, and `form_callback()`.
4c86797 Twenty Fifteen: broader selection of avatars that should catch any plugins adding avatars that use the avatar class.
20d135f Twenty Fifteen: correct list indentation inside blockquotes.
9c047d4 Use `assertEqualSetsWithIndex()` as appropriate in `get_terms()` tests.
e1e546c Unit Tests: The `assertEqualSets()` helper was returning true for some sets that were not equal. `assertEqualSets()` now behaves correctly, and the new `assertEqualSetsWithIndex()` helper also checks that the array indexes are the same.
389811b Remove the sortable functionality from the selection editing toolbar at the bottom of the media manager.
e93105b Clarify the text for the 'Edit Selection' link when multiple media items are selected in the media manager.
d614abe Allow brackets in a URL when it's sanitised for a redirect. Brackets are valid in query parameters.
17ddc06 Allow square brackets in a URL when it's sanitised for a redirect. Square brackets are valid in query parameters and IPv6 addresses.
37a23b2 Improve various `@param` docs.
e619abd Improve various `@param` docs for `src/wp-includes/*`.
2c32752 Improve various `@param` docs for `src/wp-admin/*`.
65ab522 Improve various `@param` docs for List Tables.
da4c394 Improve various `@param` docs for `src/wp-admin/includes/class-wp-filesystem-*.php`.
a0c12d0 WPDB: Before fetching results, make sure we have a valid result resource to fetch them from.
a215b88 Improve various `@param` docs for `src/wp-includes/class-wp-customize*.php`.
3ad5115 TinyMCE: update to 4.1.7, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt. Fixes #30560. Built from https://develop.svn.wordpress.org/trunk@30675
a0df295 Improve various `@param` docs.
ba914c7 Improve various `@param` docs.
d097e7c Improve the `@param` docs for `src/includes/theme.php` and `src/includes/update.php`.
9a8be96 Improve the `@param` docs for `src/wp-includes/post*.php`.
4149404 TinyMCE: update translatable strings, see #30560. Built from https://develop.svn.wordpress.org/trunk@30670
3752aa7 Improve the `@param` docs for `src/includes/rewrite.php`.
6741789 Improve the `@param` docs for `src/wp-admin/includes/plugin.php`.
04453cb Improve the `@param` docs for `src/wp-includes/pluggable*`.
04a4cf6 Improve the `@param` docs for `src/wp-includes/user.php`.
5d75282 Improve the `@param` docs for `src/wp-includes/widgets.php`.
b63c789 Improve the `@param` docs for `src/wp-includes/wp-db.php`.
b35cbbf Add missing `@param`s to `src/wp-includes/pomo` files.
616c551 Improve the `@param` docs for `trackback_response()` and `validate_another_blog_signup()`.
562ddb8 Use `sanitize_mime_type()` instead of `urlencode()` when string-building `<option>` values in `->get_views()` for media list tables.
ce05e49 Use `round()` instead of `floor()` when resizing image dimensions.
9ea224b The menu items for `users.php` and `profile.php` that require the `promote_users` cap should be wrapped in an `is_multisite()` conditional a la `user-new.php`.
3f39605 `wp_upload_dir()` has a (little-known?) side effect: if you call it, it will attempt to create an uploads directory for the current month. As such, `tearDown()` and cleanup routines have to be in sync with this behavior when deleting bogus directories used in unit tests.
15df631 Make notices added in [30459] less ugly.
bffe95d Docs Formatting: Backtick-escape inline code for all remaining dynamic hook docs in wp-includes/*.
d6e6dbf Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/meta.php.
150f71e Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/taxonomy.php.
7e53292 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/post.php.
439fe48 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/option.php.
ab38566 Docs Formatting: Backtick-escape inline code for the `login_form_ . $action` dynamic hook in wp-login.php.
773da4a Update the Iris color picker to version 1.0.7.
2faf449 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/*.
78bb3e5 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/includes/*.
9ae5e43 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/network/*.
2f6c0d5 Improve inline documentation for `image_constrain_size_for_editor()`.
3ceb75b Specify a type (array) for the `$post_data` parameter in the DocBlock for `wp_autosave()`.
e442516 Improve the inline documentation for `image_edit_apply_changes()`.
5977a7e Add an entry to the changelog for the `wp_editor_expand` hook denoting that the `$post_type` parameter was added in 4.1.0.
f60e85b When creating audio and video MCE views, listen to the players within each iframe to capture the "play" event. When a player plays, pause the players in every other iframe sandbox.
760e3e5 Editor: no pointer for DFW v2 when editor-scrolling is not used. Pass `$post_type` in the `wp_editor_expand` filter. See #30458. Built from https://develop.svn.wordpress.org/trunk@30641
4718bf4 Adjust the RegEx in `wp_check_filetype()` to be aware that query strings are thing that exist sometimes in URLs.
5352f51 Fix edge-case in media cropping where selection and destination are the same size.
67e5d40 When deleting media grid attachments, wait until the server responds before removing the model from its collection.
0b54cfd IETF language changes in MediaElement: https://github.com/johndyer/mediaelement/pull/1270/
d12eb2e Ensure uniqueness when returning page lists in `get_page_children()`. Fixes failing unit tests.
1e10385 Remove an invalid parameter from the DocBlock for the `gallery_style` hook.
68f0690 Upgrade to MediaElement 2.16.2 https://github.com/johndyer/mediaelement/compare/2.15.1...2.16.2
c512f1d Remove return descriptions from the DocBlocks for `add_image_size()` and `set_post_thumbnail_size()` as they don't return anything.
74175fb Document the `$user_id` parameter added to the 'admin_color_scheme_picker' hook in 3.8.1.
5b22a5b WPDB Unit Tests: Fix a fatal error that occurs in the `test_strip_invalid_text()` test if the `mbstring` extension isn't activated in PHP.
bb38068 Add missing DocBlocks for several functions in wp-admin/includes/ms.php.
db9b25f Check attachments as well as the current post type when checking for duplicate post slugs. This avoids creating a page with a slug which conflicts with an existing attachment (the inverse is already handled).
3e922b9 Add missing return descriptions for a variety of functions in wp-includes/link-template.php.
3699ea4 Use the correct type (integer) for the `$menu_id` parameter in the `wp_get_nav_menu_to_edit()` DocBlock.
c6e752b In `get_default_post_to_edit()`, let 'post_name' be passed to filter.
2808edf Editor: fix fading out on Escape in DFW v2. props adamsilverstein, fixes #30528. Built from https://develop.svn.wordpress.org/trunk@30625
9d1a4af 4.1 Docs Audit: Improve inline documentation for various `wpdb` methods.
e11c0a9 4.1 Docs Audit: Fix formatting for changelog entries in `count_user_posts()` and the `get_usernumposts` hook.
ea1ee43 4.1 Docs Audit: Improve inline documentation in DocBlocks for various `WP_Tax_Query` methods, the `pre_delete_term` hook, and `get_ancestors()`.
6a7b8f9 4.1 Docs Audit: Remove a duplicate word from a parameter description in the DocBlock for the `wp_save_post_revision_post_has_changed` hook.
fdb0b54 4.1 Docs Audit: Improve inline documentation for the new `WP_Query::setup_postdata()` method.
4fd64b9 4.1 Docs Audit: Formatting, line-wrap, and other fixes for the `wp_get_nav_menus()` DocBlock.
c31f6c1 4.1 Docs Audit: Spell out HTML element names in DocBlock summaries for the `nav_menu_css_class`, `nav_menu_item_id`, and `nav_menu_link_attributes` filters.
f6fd6e0 4.1 Docs Audit: Improve inline documentation for various `WP_Meta_Query` methods introduced or modified in 4.1.
494a15e 4.1 Docs Audit: Ensure optional arguments in `get_the_post_navigation()`, `the_post_navigation()`, `get_the_posts_navigation()`, `the_posts_navigation()`, `get_the_pagination()`, and `the_pagination()` are properly documented with defaults.
a4be4f5 Ensure the private function `_wp_render_title_tag()` is marked for internal usage only.
a1f244d Improve line-wrapping and formatting in the DocBlock for `wp_send_json_error()`.
68432b0 4.1 Docs Audit: Ensure optional arguments in `wp_json_encode()` are properly documented as such.
1357e2f Ensure only spaces are used instead of a mixture of tabs and spaces for alignment within the DocBlock for the `date_query_valid_columns` hook. See [30611].
e0e6c98 4.1 Docs Audit: Improve inline documentation in various `WP_Date_Query` methods modified in 4.1.
4432dc7 4.1 Docs Audit: Various formatting fixes for inline documentation in class-wp-list-table.php and comment-template.php.
21a521d 4.1 Docs Audit: Fix DocBlock formatting for the `customize_preview_{$this->type}` hook.
49fe81e 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Section`, `WP_Customize_Section`, and `WP_Customize_Sidebar_Section` classes.
a8fcffa 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Panel` class.
478f5f1 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Manager` class.
3bbf79b 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Control` and `WP_Customize_Upload_Control` classes.
9dcb6da 4.1 Docs Audit: Fix some line-wrapping in the DocBlock for `WP_Http::parse_url()`.
374ec33 4.1 Docs Audit: Clarify the DocBlock summary for `network_settings_add_js()` to specify that it's specific to the Network Settings screen.
659413e 4.1 Docs Audit: Document the `$post` global in the DocBlock for `wp_print_revision_templates()`.
da589fc 4.1 Docs Audit: Fix a variety of issues with the DocBlock for the `default_page_template_title` filter.
5212725 4.1 Docs Audit: Convert a hook reference to an inline `@see` tag in the hook docs for the `image_add_caption_text` filter.
087fbce 4.1 Docs Audit: Clarify the DocBlock summary for the `edit_form_before_permalink` hook.
8cc6732 Consistently handle an empty site title in Site and My Sites toolbar menus.
8c09194 When live-updating site title in toolbar, fall back to the site url if the title is empty.
0a8b728 Add missing periods to strings introduced in [30333].
a899bba Improve inline documentation in `wp_ajax_destroy_sessions()`.
9a4a968 Editor: move the DFW v2 transitions CSS from editor.css to wp-admin.css. They are needed only on the Edit Post screen. See #30453. Built from https://develop.svn.wordpress.org/trunk@30594
9e8f2c7 Editor: use the Alt+Shift+W keyboard shortcut for new DFW from both the Visual and Text editors. Props afercia, fixes #30450. Built from https://develop.svn.wordpress.org/trunk@30593
8f219ed Revert [30032] so appropriate PHP warnings aren't masked.
9597159 Better error message when the admin is ssl and non-ssl oEmbed previews are not available in the editor. Props Japh, fixes #30533. Built from https://develop.svn.wordpress.org/trunk@30591
85e5ab6 Twenty Fifteen: better highlights for tapped links in iOS Safari.
e213388 Twenty Fifteen: overflow hidden can hide focus outlines here so out it goes.
2e123ad Twenty Fifteen: minor corrections to borders and post title colors in custom color schemes.
8990b1c WPDB: Remove the addition of `STRICT_ALL_TABLES`, added in [30400]. This proved to be incompatible with too many plugins, as well as being incompatible with MySQL 5.7.
4d651b9 Editor: limit scrolling triggered when TinyMCE is auto-resized to 100px. Prevents auto-scrolling on page load. Fixes #30515. Built from https://develop.svn.wordpress.org/trunk@30586
213ecc8 Revert shared taxonomy term splitting for 4.1.
92bcf2d Remove unused CSS and JS from wp-mce-help.php, see #30517. Built from https://develop.svn.wordpress.org/trunk@30584
4855f36 Editor: fix warnings in class-wp-editor.php, see #30453. Built from https://develop.svn.wordpress.org/trunk@30583
1d3b040 Remove old DFW width adjustment help text.
47f89b1 Remove unbounded check for "install.php" in `wp_not_installed()`.
e4f52df Fix DocBlock formatting for `wp_generate_password()`.
7e0c893 Comments: Use proper HTTP response codes for validation errors.
184d327 Network Admin: Improve width of input fields on Add New Site and Edit Site screens.
3a4f742 Remove the `wp_is_trusted_network()` function pending further discussion on terminology and behaviour.
e002b0f Type cast `$nonce` to string in `wp_verify_nonce()`.
aba2a6b Fix the PHPDoc example for _split_str_by_whitespace(). Props voldemortensen. Fixes #30504
97c81c4 Editor: add a pointer for the new DFW button. Remove the wp350_media and wp360_revisions pointers from the same screens. See #30458. Built from https://develop.svn.wordpress.org/trunk@30574
af1e417 Editor: - Add CSS reset for the TinyMCE fullscreen mode when used on the Edit Post screen. - Fix loading of the old and new DFW buttons, use another arg. passed to WP_Editors. - Reset editor-expand when exiting TinyMCE fullscreen mode. Fixes #30453. Built from https://develop.svn.wordpress.org/trunk@30573
7e44868 Twenty Fifteen: docs correction.
99c003c Twenty Fifteen: update the .pot file.
a360658 Twenty Fifteen: make sure the 'says:' in comments is readable by a screen-reader.
e11418a Twenty Fifteen: docs correction and cleanup.
7a64392 Twenty Fifteen: correct number of menus used in comments
c64402e Update Akismet external in trunk to 3.0.3.
cb2dcb9 Twenty Fifteen: remove unneeded custom header admin callbacks.
a88ec3f Twenty Fifteen: prevent too-wide tables from popping out of posts.
654047e Twenty Fifteen: pinching to zoom in on landscape on iPads is breaking the layout with the sticky sidebar. Providing a one-column view on those screens looks good and will likely prevent other bugs we don't even know about.
45343aa Twenty Fifteen: a shorter header on small screens when there is no header text or header image looks more correct.
61fd87f Update `embedded.png` after running `grunt imagemin`.
0517ee7 TwentyFifteen: - Fix image caption alignment in the editor. - Remove unused var from functions.js. Also includes few images that were shrunk a bit when running grunt precommit. Fixes #30493. Built from https://develop.svn.wordpress.org/trunk@30562
a62fc4e When `json_encode()` returns a JSON string containing `'null'` in PHP 5.4 or earlier, `wp_json_encode()` will now sanity check the data, as older versions of PHP failed to encode non UTF-8 characters correctly, instead returning `'null'`.
f3ba529 TinyMCE: don't hide the image toolbar when the iframe window fires onresize. There is a bug in several browsers that triggers onresize when a tooltip is shown, only in RTL mode. Also use better variable name. Fixes #30147. Built from https://develop.svn.wordpress.org/trunk@30560
a71d642 Add basic unit tests for `is_plugin_active_for_network()`
20e753a TinyMCE: use the actual image node when calculating the position of the toolbar. Fixes a bug in old IE. See #30147. Built from https://develop.svn.wordpress.org/trunk@30558
94b72cc Add basic unit tests for `is_plugin_active()` and `is_plugin_inactive()`.
5742174 Remove incorrect documentation for `wp.media()`.
f5e4c9e Improve the focus style for review links in the plugin info modal.
e39c43a Clear update caches when site language is changed.
6b51f14 Customizer: Only show the default button in the upload control if there is a default attachment.
d187a5e Customizer: Don't override `Section.isContextuallyActive()` in `SidebarSection`.
aace02c Update the Iris color picker to version 1.0.6.
3cb1fb9 Editor CSS: Add missing semicolons.
4ba21e7 Fix the unit tests for Imagick alpha.
db7b12e Declare an explicit 'order' in `test_get_comments_by_user()`.
6c40c6f Fix the passing of commenter cookie data to the comment API so that we don't try and fetch all unapproved comments for users with no-email address when we only have an author.
4b6abba Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
3b6c951 Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
188e478 Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
9955384 Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
b8c612c Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
07c58f5 Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
39da8dd Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
cc68de7 Ensure the DocBlock directly precedes the hook line for the `post_edit_form_tag` action in wp-admin/edit-form-advanced.php.
de809a5 Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented.
273396f Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented.
8f6188a Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented.
6d0cdd7 Remove HTML `<head>` tags from DocBlock summaries in wp-admin/admin-header.php.
12684e0 `json_encode()` returns different results for non UTF-8 strings in PHP 5.5+, versus earlier versions of PHP.
18ae2c0 Split the tests for `wp_json_encode()` into smaller chunks (let's all them "units"). Skip a couple of these tests when running on older versions of PHP that don't support the tested functionality.
0fb8811 Improve return description for `get_file_data()` documentation.
e8a4452 Color Schemes: fix the pointer UP arrow color, fixes #30460. Built from https://develop.svn.wordpress.org/trunk@30531
5825622 Remove failing `test_network_limit()` XML-RPC test.
20302cb Better rewrite rule flushing in `test_permalink_without_title()`.
144d7ed Ensure that `wpdb_exposed_methods_for_testing` is available to all tests.
de1f2d6 Ensure `sanitize_user()` expected test values are lowercase on multisite.
2177165 Stop checking Trac to skip tests against open tickets.
a18e2f6 Repair the `seems_utf8()` tests that use Big5 encoding.
503defb Remove failing test related to the 'offset' param of `WP_Query`.
6a5c146 Remove failing test related to `wp_list_pages()`.
181fec5 Remove failing test related to `wp_unique_post_slug()`.
7481a15 Remove failing `is_textdomain_loaded()` test.
4c40127 Remove failing assertions from `is_serialized()` tests.
4f47412 Remove failing test in the `hooks` group.
f1b5a87 Remove skipped tests for `WP_Export_Query`.
550f8ad Remove skipped tests for unimplemented JS plural functions.
3042b7a Remove failing test for unimplemented `wp_mail()` enhancement.
025d1b3 Improvements to encoded character formatting tests.
3422675 Remove failing tests related to square brackets being stripped in URL sanitizers.
c4d9abb Remove failing tests related to `WP_User::__unset()`.
cb4f0c8 Declare user_email when setting up fixtures for `count_user_posts()` tests.
cc10fa7 Improve performance of post revision order test.
9f40944 Remove some failing unit tests from the `post` group.
d3604f4 TinyMCE: set the image toolbar's z-index to be the same as the other TinyMCE panels, or it is under the editor when in fullscreen mode. See #30147. Built from https://develop.svn.wordpress.org/trunk@30509
78367f2 Abstract the theme browser route paths into attributes so they can be easily overridden.
b66c58f Update the inline docs for `wp_die()` to reflect parameter changes made in r30355
53a9e3b Add support for `WP_Error` objects passed to `wp_send_json_error()`. The error object gets output as an array of error codes and messages, rather than as an empty object.
97b412a Admin notices: Add more variety and make more generically usable.
c83f96e Sessions UI: Ensure screen readers provide feedback on action taken.
541e6d3 oEmbed: Add support for the Vine endpoint.
b0db6e6 Convert `<title>` to "title tag" in the DocBlock summary for the `admin_title` hook.
8f2842a Replace invalid use of ltrim() in attachment_url_to_postid() with substr().
aad05ec Set min-height for menu item title. Add a fallback for empty-titled items.
2aabde8 Remove whitespace accidentally introduced in r30498
196e069 `split_shared_term` is an action, not a filter.
a6fc2d6 Minor syntactical adjustments to the inline documentation for the `revision_text_diff_options` hook.
2fda44c Add an entry to the changelog for `wp_make_link_relative()` noting that intentional support was added for relative URLs.
3ace1fa Only output an optgroup for installed languages in `wp_dropdown_languages()` if translations are available.
57e358d Improve cleanup of cached term_ids after shared terms are split.
14e6c30 Pass the taxonomy of the split tt_id to the 'split_shared_term' filter.
6f9eaf5 Store data about old and new term IDs when shared terms are split.
330ab9d Update the bundled root CA's used for outgoing HTTPS requests. Fixes #30434
c22be8d TinyMCE: change the default font size from 100% to 16px to fix some back-compat issues, fixes #30038. Built from https://develop.svn.wordpress.org/trunk@30490
fd1f5bb Update the DocBlock changelogs for the `nav_menu_css_class`, `nav_menu_item_id`, and `nav_menu_link_attributes` hooks following [30358], where `$depth` parameters were added.
f9408af 4.1-beta2-30484
6225c63 Media a11y: Don't set role=checkbox for the attachment details view.
7d95c83 Twenty Twelve and Thirteen: Use proper way to get customizer settings values.
ce6fb53 WordPress 4.1-beta2
b50cbe1 Correct an SQL syntax error introduced in r30158. Adds tests.
a69a12a Twenty Fifteen: bring back the border between post navigation links we lost in the_post_navigation changes.
78a310f More tests for [30466]. props xknown.
ccf39f3 Prevent high resource usage when hashing large passwords. props mdawaffe, pento
12b2ca4 Simplify selectors in [30374].
4b65a37 `grunt autoprefixer` for [30374].
cffba3c Customizer: Use deep-links for Backgrounds, Headers, and Widgets.
58dfcb9 Validate image data.
4733243 Improvements to the output of the new post navigation template functions, including swapping the position of the previous and next links.
6e2f41a Anchor texturize to shortcodes to improve regex efficiency.
a6103b3 Better validation of the URL used in core HTTP requests.
432e4dc Press This: Ensure the error message is printed. props johnbillion
87023d6 TinyMCE: Verify HTML in captions. props azaozz
fce07e1 Invalidate password keys when a user's email changes.
e7614d6 Fix typo in style filter. props miqrogroove
c2f334b Playlists are video by default. props duck_
b271e36 Form validation for password resets.
ddb3ee5 Use hash_equals() for old md5 hashes.
871176e Bump the $wp_version. This version string controls more than you might first imagine, but the important thing to note for now, is that this needs to contain a revision number in order for nightly builds to include a revision number. If a nightly build doesn't include a revision number, Background Updates won't occur for Development users (after all, 4.1-beta1 == 4.1-beta1, which is already installed). See #30405
3a7b574 Prevent wpmu_delete_blog from removing the wrong uploads directory
d0b10b5 Apply a filter to the `<script>` tag for enqueued scripts in the same way a filter is applied to the `<link>` tag for enqueued styles.
e2339bd Return an empty array from `get_approved_comments()` when `$post_id` is empty.
f17d168 WPDB: Force `STRICT_ALL_TABLES` to be enabled as soon as we connect to the MySQL server.
ebc8c59 Twenty Fifteen: Removing unneeded CSS from RTL causing odd hover effects.
de060dc Twenty Fifteen: escaping here breaks color schemes.
d4a36f2 TinyMCE: update to the latest dev. version, 4.1.6+. Fixes #30411. Built from https://develop.svn.wordpress.org/trunk@30397
3e3c383 Introduce two new filters to the post revisions screen:
64cd0ae Slide the admin menu out to the right when DFW mode kicks in and RTL is in use.
b7ede43 Twenty Fifteen: doc cleanup, addresses removing periods from file header summaries, some spacing, loop documentation, and https instead of http.
ad646bc Accessibility: hide admin menu separators from screen readers.
d06a94d Twenty Fifteen: Check if we're in the customizer before we avoid outputting HTML for an empty tagline. Avoids an issue with a not-updating customizer preview of the tagline if you're going in with an empty tagline.
bbdafdc Twenty Thirteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
f398bd0 Twenty Fourteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
5c6de0c Twenty Fifteen: Making the sidebar sticky for everyone. When we have a long sidebar, let it scroll with the content, but fixing the sidebar and no longer scrolling when we get to the end of the sidebar content. Scroll up and the sidebar starts scrolling up to, eventually staying fixed when it gets back to the top.
d2b903f Twenty Fourteen: improve post thumbnail HTML output.
a9a3ee7 Twenty Thirteen: fix non-responsive layout in IE8. Props phpmypython, fixes #24194. Built from https://develop.svn.wordpress.org/trunk@30386
e5f57d2 TinyMCE: fix the tooltip for 'alignnone' button on the image toolbar. Props johnbillion, see #30147. Built from https://develop.svn.wordpress.org/trunk@30385
9b9289e Background Updates: Introduce support to take advantage of Group Writable (or World Writable) to Core Background updates. This is only enabled when new files will not be installed during the update (as indicated by the WordPress.org API), and does not apply to Plugin/Theme/Translation Background Updates.
d95b519 Improvements to `wp_make_link_relative()`.
e34a587 Add some missing inline documentation for methods in the `WP_Widget` class in wp-includes/widgets.php.
f764830 Add missing documentation for the `$password` parameter, passed to the `check_password` hook.
51e7e8e Clarify/correct inline documentation in wp-includes/l10n.php.
5943966 Ensure the mixed type of `string|int` is reflected on the `$title` parameter in `wp_die()`.
5945363 Update the inline docs for the `keyEvent` callback in the media grid.
02c773e Avoid re-registering the `keydown` event controller in the media grid so arrow controls don't skip media items.
cca3291 Improve Thickbox's close button so it can be announced by screen readers.
739a20a WPDB: When a `db.php` drop-in is being used, and it doesn't explicitly define itself as connecting to MySQL, skip the character set checks. This ensures that existing drop-ins won't accidentally run checks that they don't support.
e2a0c6a Improve keyboard control of Edit Selection mode in the media manager.
a7418e0 Twenty Fifteen: pinking shears.
bdffdaf Twenty Ten, Eleven, Thirteen: add bottom margin to audio and video players.
254ff0a Add inline `@see` tags to the docs for the `get_categories_taxonomy` hook.
6b83230 Fix parameter description syntax for `WP_Screen::get_option()`.
bc05438 Add a missing `@return` description for `WP_Screen::get_option()`.
14bf493 WPDB: When removing invalid characters from utf8 strings in older versions of PHP, the regex was too large to be compiled.
ddbb5a8 Remove a stray translator comment for a non-translatable string added in [30209] See #27238
cd99d59 Decode the sample permalink shown to the user. This avoids showing encoded non-Latin characters in the sample permalink.
c61a028 TinyMCE: fix the border on the image toolbar arrow. Props afercia, see #30147. Built from https://develop.svn.wordpress.org/trunk@30363
69b5290 Fix typo in [30361], see #30147. Built from https://develop.svn.wordpress.org/trunk@30362
22b7600 TinyMCE: don't show image toolbar for placeholder images. See #30147. Built from https://develop.svn.wordpress.org/trunk@30361
7cdbac5 Add a filter to the displayed title of the default page template.
81858cd Correctly wrap the text in long input labels in the media manager.
96e57d4 Add `$depth` parameter to the `nav_menu_css_class`, `nav_menu_item_id`, and `nav_menu_link_attributes` filters.
066ee3b Add `$user_login` and `$user_data` parameters to the `retrieve_password_message` filter.
d88ed47 Switch to a `403` response code in places where it is more appropriate than a `500` due to permissions errors.
5f30f13 Allow the response code to be passed as a shorthand to the `$title` or `$args` parameter of `wp_die()`, for brevity.
fd15794 Add some specific JSON responses when there are user permission errors for AJAX file uploads. Replace some usage of `wp_json_encode()` with `wp_send_json_*()`.
a005e0b Display a faux revision when a post only has one revision but has an autosave.
afd0dd5 Avoid adjusting the current submenu position when tabbing through the admin menu.
281a929 Change Twenty Eleven's header preview callback too, missed in [30327].
015f786 Editor: enable spellchecking of the post title field on the Edit Post screen. Props marsjaninzmarsa, fixes #30338. Built from https://develop.svn.wordpress.org/trunk@30350
b3e14b3 TinyMCE: fix the cursor appearance while it is outside the editor body. Props miyauchi, fixes #30112. Built from https://develop.svn.wordpress.org/trunk@30349
f561b53 WordPress 4.1-beta1 Built from https://develop.svn.wordpress.org/trunk@30348
866cfdf Flush cache for newly created term in `_split_shared_term()`.
e61bebd If a saving a post fails, remove any invalid characters (such as emoji) from the primary text fields, then try to save it again.
ecc27d0 When creating a post containing emoji, the post can be saved incorrectly if MySQL isn't using a character set that supports emoji.
c5bb06d Reinstate term splitting on term update.
fe63317 Sync our jQuery UI styles with jQuery UI 1.11.2 CSS.
52f51d6 Media: Remove another unused string.
f34d3b1 Media: Remove unused string.
b922be3 Only use the 'Installed' optgroup in wp_dropdown_languages() if it's needed.
560574d TinyMCE: set the image toolbar's z-index higher than the editor when the new DFW is active. See #30147. Built from https://develop.svn.wordpress.org/trunk@30339
7c4b941 Introduce Distraction-Free Writing v2, a re-think of DFW that uses the main editor instance
95513a0 When asserting microtime output as a number, make it a number
eb8f89b Don't split shared terms on term update.
8fb6f31 Site Language: Install translations on the fly.
4a1cb79 Improvements to [30333]:
c028453 Introduce a button on the user profile screen which clears all other sessions, and on the user editing screen which clears all sessions. Only appears when there are applicable sessions which can be cleared.
f93a197 Fix selector for the "Live Widget Previews" feature pointer.
e1cf2b8 Twenty Fifteen: Add a transparent border to a link in the footer to avoid jumpiness on hover.
b8bfbf4 Color Picker: Allow to override `mode` and `width` values for Iris via wpColorPicker options.
41197a7 Customizer: Improve ability to filter active state for widget area Customizer sections.
92e3890 Correct `@since` tag in `count_user_posts()` docs.
120cb5e Improve keyboard accessibility on Custom Header and Custom Background screen.
e0c9ba2 Customizer: Prevent double-encoding in `WP_Customize_Control`.
3acf55c Twenty Fifteen: cleaning up JS introduced in r30305 that doesn't pass jshint.
3f967c8 Twenty Fifteen: unfix the sidebar if we have a menu with submenus as there is a chance visitors might not be able to scroll down to see submenus in some situations.
912cdc5 Pass query object to 'the_post' filter.
a0b8caa Introduce `$post_type` param for `count_user_posts()`.
6b9b865 Twenty Fifteen: reduce the margins on the editor body in esitor-style.css. Fixes #30331. Built from https://develop.svn.wordpress.org/trunk@30321
d7df822 Manually delete fixture in `test_mysqli_flush_sync()`.
14ae707 Fix typo in translatable string, see #30147.
69105d2 TinyMCE: enhance the inline toolbar for images: - Add alignment (left, center, right, none) buttons. - Position the menu above the image when possible, except on iOS. - Fix selecting images on iOS. First run, part props avryl. See #30147. Built from https://develop.svn.wordpress.org/trunk@30318
07eba31 Twenty Fifteen: improve appearance of page links when there are tons of pages to link to
40c73b7 Twenty Fifteen: adding context to pagination links for screenreaders.
99a35f2 Twenty Fifteen: since color schemes can be customized let's call them base color schemes instead of just color schemes.
7f970d5 Twenty Fifteen: adding context to page links for screenreaders.
0620164 Use a brighter blue against dark backgrounds in the admin menu and toolbar.
50271a9 Twenty Fifteen: clean up sprintf from template tags and use the correct escaping for twentyfifteen template tags.
e17d09f PHP 5.2 compatibility for [30310], __DIR__ wasn't added until PHP 5.3. Props TobiasBg. Fixes #29628
3e702d8 Always use a full filesystem path when including the FTP handler in PemFTP. This prevents other files in the includes directory being scanned/included accidentally. See #29628
6d83c8c Customizer: Add support for the media library in Background Image controls.
8b32164 Customizer: Trigger `widget-added` event when initializing.
d21799e Customizer: Use `jQuery.fn.toggle()` instead of `slideUp`/`slideDown` if panel/section/control is not inserted into DOM yet.
b250062 Customizer: When navigating around the site within the Customizer preview, update the document title.
1317409 Twenty Fifteen: Minor formatting and docs tweaks, clearer variable name.
87bd82a Twenty Fifteen: simplify the code used to generate screen reader text for the is_home title.
47ec29c Twenty Fifteen: create consistent spacing with embeds and images.
1f2397a Twenty Fifteen: simpler CSS by using divs instead of spans for menu descriptions.
5fe8fa2 Correct grammar error in `WP_Date_Query` error message.
4cf91d7 Improve localization for `WP_Date_Query` error strings.
21467af wpdb: When flushing results on a mysqli connection, make sure that `wpdb::$dbh` is a valid mysqli connection handle.
dd61164 Exclude external-http tests when running `phpunit`.
0013150 `wpdb::flush()` was not flushing results correctly when using mysqli.
5f27bdc TinyMCE: enable direct calls to `_WP_Editors::wp_mce_translation()`. When using TinyMCE directly, this makes it easier to load the translation of the default strings. Fixes #30293. Built from https://develop.svn.wordpress.org/trunk@30296
383c75d Fix PHP notice in `Tests_Feed_RSS2::test_items()`.
b3da068 TinyMCE: remove strings that are not translated before outputting the translations. Fixes #27797. Built from https://develop.svn.wordpress.org/trunk@30294
ba10ab1 Heartbeat: - Use the page visibility API (when available) and document.hasFocus() instead of window.onfocus/onblur. Improves speeding up/slowing down the interval and works for iframes by default. - Add a setting for minimal interval. Maximum value is 10 min. This overrides all other intervals and cannot be changed after setting it at initialization. Can be used to reduce the frequency of requests on hosts that have low limits for used CPU time, etc. - Extend the setting of interval to support 120 sec. (60 sec, is still the default). - Always suspend after one hour of keyboard/mouse/touch inactivity. Fixes #29779. Built from https://develop.svn.wordpress.org/trunk@30293
f572927 WPDB's `__get()` function should perform strict comparisons against member names
2508d31 Remove failing Unbalanced tags tests
70416f2 Remove failing shortcode unit tests
2ed6de3 Remove failing uploadfile test in trunk
3e94d3a Fix incorrect documentation in the DocBlocks for `get_lastpostmodified()` and `_get_last_post_time()`.
112f854 Move tests for ms_files_rewriting to separate group, ms-files
ef442d8 Remove failing test related to post galleries.
92c153a Fix the syntax for some status-related documentation introduced in [30155].
77e2821 Improve `Tests_Feed_RSS2::test_items()`.
9e5cb03 Remove failing unit tests from 'canonical' group.
e7b4650 Cross-reference `WP_Comment_Query::query()` as the location for finding information on default arguments for `WP_Comment_Query`.
35e509b Document default arguments for `WP_Comment_Query` class as a hash notation.
bd3a0b3 Use `remove_added_uploads()` in `tearDown()` for XMLRPC tests
0b90415 In unit tests, use `wpmu_delete_user()` to delete users when `is_multisite()`.
b5b923c Share fixtures across 'canonical' automated tests.
b6d3190 Share fixtures across a number of query-related test classes.
68a6a69 Twenty Fifteen: updates to customize-preview.js missed in r30274.
fa81522 Twenty Fifteen: add instant updating of color schemes to the customizer with postMessage.
066967b Twenty Fifteen: Removing email obfuscation from social links menu.
c3ec04c Twenty Fifteen: adding help text to explain how color changes to header and sidebar are affected by responsive design.
78c2601 Twenty Fifteen: improve naming and documentation of customizer js files to match core filenaming conventions.
1b0b11b Twenty Fifteen: use antispambot to obfuscate email adresses in the social links menu.
85fd2fa Twenty Fifteen: update earlier patch to borders on linked images so we're not affecting the display of linked icons in widgets.
7ca9e7d Correct variable name in `WP_UnitTestCase::temp_filename()`. Built from https://develop.svn.wordpress.org/trunk@30268
88de937 Unset the default permalink structure after installing Multisite for automated tests.
0b1cd9a Use `assertEqualSets()` for some `WP_Comment_Query` tests. Built from https://develop.svn.wordpress.org/trunk@30266
c357de6 Don't force child_of=0 for non-hierarchical taxonomies in `get_terms()`.
5ce7ae5 Add tests for `get_adjacent_post_link()` wrappers.
4743ee9 In `get_adjacent_post()`, `$excluded_terms` should check term_id rather than term_taxonom_id.
cd0ba24 Twenty Fifteen: Our next-previous labels were reversed.
03ea739 In `get_page_children()`, only check `$page->ancestors` once to avoid duplicates when the function recurses. Adds an argument, `$ancestors`.
d5a9d63 Improve `wp.media` documentation.
2d1080a Improve `wp.Uploader` documentation.
6ad06ca Twenty Fifteen: "detach" widgets from the header in mobile views.
c47552d Create new $wp_roles object in install_blog() to avoid protected _init() call
3706590 Split shared taxonomy terms during term update.
32db3d1 Do not create shared taxonomy terms.
ef13be6 Enforce ORDER BY and LIMIT clauses in `term_exists()` queries.
4ce9db9 In `wp_insert_term()`, clean up accidental duplicate terms after insert.
1483e80 Twenty Fifteen: use continue reading links for auto-generated excerpts to provide a readable link for screenreaders.
2047ff9 Twenty Fifteen: Use the new archive template tags and make archive template titling way simpler!
0952952 Twenty Fifteen: adding licensing info for the image used in the screenshot.
8fa0755 Add some docs to `wp.media.view.EditorUploader`.
d21ea0a Twenty Fifteen: Formatting cleanup for documentation, crossing eyes, dotting tees.
e2d03ed Twenty Fifteen: missing spaces for code standards.
b519db9 Twenty Fifteen: accessible alt text for post thumbnail links.
17dbe26 Twenty Fifteen: Simplify the header, sidebar, background controls and make customization faster for users to do. This has the added benefit of fixing our bug where hidden header text wasn't being updated on color scheme switch. Nice.
cc9c8ed Twenty Fifteen: Crashing chrome if you don't have Noto installed probably isn't the best experience  -- removing font kerning.
7d56be8 Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files.
7081b90 Fix a couple of typos in the hook documentation for the `$option` filter in wp-admin/includes/class-wp-list-table.php.
d19de13 Merge a multi-line comment into a single-line comment in wp-includes/link-template.php.
256bea1 Add parameter and return descriptions to the `WP_List_Table::get_pagination_arg()` DocBlock.
784e162 Cross reference `get_the_archive_title()` and `get_the_archive_description()` in the inline documentation for their corresponding template tags.
6a45f46 Introduce some new template functions for archive titles and descriptions:
7a6ea1e Twenty Fifteen: correct image alignment for RTL.
7dfb040 Twenty Fifteen: check if user-selected custom colors are the same as default so we're not duplicating styles.
8a930c9 Twenty Fifteen: Remove a gap between content and footer when the sidebar is longer than the content.
a17fd23 Customizer: Bind `input` and `propertychange` events for range input types.
9a3b797 Twenty Fifteen: escaping for the HTML5 shiv call.
3a0b05e Twenty Fifteen: kern everything -- it reads better.
6be421f Twenty Fifteen: Use new core navigation tags.
fe241e3 Twenty Fifteen: Make sure that the edit link will always be right of it's icon.
73b4f6f Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP.
4b23645 Twenty Fifteen: nicer styles for playlists.
cdfbccd Twenty Fifteen: add a fallback icon for social links where we don't have an icon
c1b360a Twenty Fifteen: prevent a flash of visible sub menus before scripts load.
7919a6d Improve docblocks for `get_the_taxonomies()` and `the_taxonomies()`.
eec3eea Introduce `term_template` param to `get_the_taxonomies()`.
a46c99c Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus
89526ca Ignore case when checking string 'false' in `wp_validate_boolean()`.
99c5817 Add unit tests for `wp_validate_boolean()`.
fc4b17a In `in_object_in_term()`, only check numeric string values against term_id.
d2a8ae2 Add some unit tests for `is_object_in_term()`.
5e3a64e Correct some types in `wp-admin/*`-location files' doc blocks.
7d7a8aa Correct all `@return unknown` instances.
bd2521d Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/deprecated.php` (pour one out).
196d85a Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/misc.php`.
37f94bd Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/plugin.php`.
64167f0 Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/post.php`.
d9d825d Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/taxonomy.php`.
06f49a4 Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/template.php`.
5a3256c Fill in the `@param` types for the args for `make_site_theme_from_default()`.
ef944e8 Fill in the `@param` types for the args for `make_site_theme_from_oldschool()`, which is actually the name of a function?
082a1d0 Fill in the `@param` types for the args for `dbDelta()`.
150b4e5 Fill in the `@param` types for the args in `WP_Text_Diff_Renderer_Table->interleave_changed_lines()`.
3e4ca28 Correct the `@param` type for the `$query` arg for `remove_query_arg()`.
8eee18e Fill in types for the `@param`s for `wp_comment_reply()`.
63c55ae Correct type in the doc block for `get_theme_support()`.
3535af5 Correct the return value doc block for `get_theme_support()`.
0eb038d In `Custom_Image_Header`:
a14a4fc In `Custom_Background`, declare `$updated` as a property.
15c062e In `wp_audio|video_shortcode()`, make sure that `autoplay` and `loop` are booleans. Passing `'false'` to them will force them to be active, which is bad.
a587ebc In `WP_Tax_Query`, declare `$primary_table` and `$primary_id_column` as properties.
2750f0c In `WP_Locale`, declare `$number_format` as a property.
a23c230 In `WP_Comment_Query`, declare `$query_vars` and `$comments` as properties.
c598d35 Almost every method in `wp_xmlrpc_server` can also return `IXR_Error` and should be labeled as such. Rehabilitate some `return` syntax.
e02c724 `WP_Image_Editor_GD` and `WP_Image_Editor_Imagick` should specify type in a doc block for the `$image` property, instead of inferring `bool` and `null`.
a887301 In `WP_HTTP_IXR_Client`: * declare `$scheme` as a property, it doesn't exist on the parent class * declare `$error` as a property of type `IXR_Error`, instead of it being inferred as `boolean` from the parent class
68a67a9 Fix the return docs for `WP_Embed->maybe_make_link()`.
796ceeb Use common core syntax for checking DOING_AJAX
00c86ae Delete admin_created_user_subject() rather than deprecate
c3f51ce Improve layout of test for cached invalid, then valid site details
132be9d Split tests for wp_get_sites()
783f36f In `_WP_Editors::editor_settings()`, `$str1` and `$str2` don't need to be initialized empty.
303d018 Declare the `$uploaded_headers` and `$default_headers` properties for `WP_Customize_Header_Image_Control`.
73c8e4c Declare the `$update_count` and `$update_current` properties for `WP_Upgrader`.
3fc8778 Declare the `$options` property fo…
ale-grosselle pushed a commit to ale-grosselle/mediaelement that referenced this pull request Nov 25, 2016
Accept IETF language tags, plus accessible play/pause button -- "iet-ou/cr1262/a11y"
nylen pushed a commit to nylen/wordpress-develop-svn that referenced this pull request Feb 16, 2017
mediaelement/mediaelement#1270

Reverts [28801].
Fixes #29182.


git-svn-id: https://develop.svn.wordpress.org/trunk@30637 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants