WordPress/wp-includes
allancole 31692a5f6e Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update applies the following changes:

- Improve menu UI to support keyboard, click and touch interactions
- Improve variable scoping and js performance in menu interaction javascript
- Improve custom-colors for selected text, buttons and menu hover styles
- Improve margins structure for more consistency between editor and frontend
- Improve discussion avatars for simpler wording and better performance
- Improve fonts in list widgets and list blocks 
- Improve comment responsive spacing and avatar display
- Improve various block styles to make them consistent between the editor and frontend
- Add tabbed browsing support for ie11
- Add backwards compatibility support for older versions of WordPress
- Add fallback styles for older versions of WP where Gutenberg is activated and then deactivated (backwards compatibility)
- Add `sizes` attribute for featured images to improve responsive performance
- Add focus-within polyfill
- Add a footer menu for secondary page links
- Fix editor styles to prevent conflicts with plugins that add meta boxes to the editor
- Fix columns block issues on small screens
- Fix empty-space font text cursor issue in Gutenberg editor
- Fix RTL floating styles so that left/right floats are honored
- Fix cover image block margins/padding
- Fix invalid rgba style
- Fix php warning when returning attributes
- Fix gallery widget margins to improve gallery grids
- Fix .entry-content selectors to prevent shortcodes, plugins and other unknown content from breaking the layout
- Remove translation escaping to follow code standards in previous default themes
- Remove custom color output in the fronten header when default color is selected
- Remove fly-out sub-sub-sub-menu behavior on desktop to prevent sub-menus from falling off the screen
- General code clean up and coding standards improvements

Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, mukeshpanchal27, burhandodhy, crunnells, Ismail-elkorchi, aryaprakasa, @tlxo, @themeroots, @whizbangik, @yingles, @youthkee, @brentswisher, @smy315, @ahmadawais, @desi-developer.


Built from https://develop.svn.wordpress.org/branches/5.0@43892


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-12 23:20:51 +00:00
..
blocks Build Tools: Upgrade @wordpress packages to the latest version. 2018-10-29 08:36:36 +00:00
certificates
css Block Editor: Update @wordpress dependencies to the latest version matching Gutenberg 4.3.0 2018-11-12 17:02:54 +00:00
customize Docs: Future-proof comments referencing 5.0 TODOs. 2018-11-12 04:23:48 +00:00
fonts
ID3 Media: update the getID3 library to version 1.9.14 to avoid fatal errors in PHP7. 2017-07-31 19:50:45 +00:00
images Build: Update images following [43684]. 2018-10-22 05:06:38 +00:00
IXR XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings. 2018-03-08 19:56:40 +00:00
js Block Editor: Update @wordpress dependencies to the latest version matching Gutenberg 4.3.0 2018-11-12 17:02:54 +00:00
pomo General: PHP 7.3 throws an E_WARNING when using continue to target a switch. 2018-10-18 03:42:27 +00:00
random_compat Avoid PHP Linting errors in the Random_Compat library under PHP7. 2017-12-01 03:07:42 +00:00
Requests
rest-api REST API: Prevent duplicate firing of rest(_after)?_insert_attachment actions. 2018-11-03 14:14:49 +00:00
SimplePie
Text External Libraries: Remove usage of each() from the Text_Diff_Engine_native class. 2017-10-26 12:52:53 +00:00
theme-compat Embeds: Avoid "Division by zero" warning in embed-content.php template if a thumbnail has a zero height. 2017-10-18 15:09:48 +00:00
widgets Customize: Ensure media playlists get initialized after selective refresh; expose new wp.playlist.initialize() API. 2018-01-30 14:56:41 +00:00
admin-bar.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
atomlib.php
author-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
blocks.php Block Editor: A little cleanup to render_block(). Always normalize $block['attrs'] to array in 'render_block' filter. 2018-11-12 10:03:48 +00:00
bookmark-template.php
bookmark.php
cache.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
canonical.php Canonical: Strip trailing punctuation from permalinks. 2017-10-24 14:18:48 +00:00
capabilities.php Blocks: Add the reusable block post type, wp_block. 2018-10-23 06:53:38 +00:00
category-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
category.php
class-feed.php
class-http.php Docs: Correct type and description for the $data parameter in WP_Http::browser_redirect_compatibility(). 2017-10-18 16:38:48 +00:00
class-IXR.php
class-json.php
class-oembed.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-10-23 17:48:39 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-walker-category.php Taxonomy: Make sure wp_list_categories() correctly outputs term name of 0. 2018-10-11 04:42:49 +00:00
class-walker-comment.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-walker-nav-menu.php Menus: Remove an extra space in the <ul> tag in Walker_Nav_Menu::start_lvl(). 2017-10-20 10:40:46 +00:00
class-walker-page-dropdown.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-walker-page.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-admin-bar.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-ajax-response.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-block-parser.php Block Editor: Update @wordpress dependencies to the latest version. 2018-11-12 02:27:57 +00:00
class-wp-block-type-registry.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-10-18 01:31:26 +00:00
class-wp-block-type.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-10-18 01:31:26 +00:00
class-wp-comment-query.php php7.3 compatibility: Fix compact throwing notices 2018-10-24 16:33:52 +00:00
class-wp-comment.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-customize-control.php Customize: Deprecate nav menu classes that are no longer used, instead of removing them immediately. 2017-10-28 05:48:47 +00:00
class-wp-customize-manager.php Docs: Future-proof comments referencing 5.0 TODOs. 2018-11-12 04:23:48 +00:00
class-wp-customize-nav-menus.php Customize: Do not attempt to count uncountable value. 2018-07-17 14:40:23 +00:00
class-wp-customize-panel.php Accessibility: CodeMirror editing areas minor improvements. 2017-09-24 16:00:46 +00:00
class-wp-customize-section.php Customize: Deprecate nav menu classes that are no longer used, instead of removing them immediately. 2017-10-28 05:48:47 +00:00
class-wp-customize-setting.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-customize-widgets.php Widgets: Rename "Custom Menu" widget to "Navigation Menu". 2017-10-15 22:23:47 +00:00
class-wp-dependency.php I18N: Improve JavaScript translation support. 2018-11-01 13:51:47 +00:00
class-wp-editor.php Classic Editor: Disable the wpautop TinyMCE plugin on block posts. 2018-10-19 01:43:26 +00:00
class-wp-embed.php Embeds: Improve consistency of update and refresh logic for oEmbed caching between oembed_cache and post meta. 2017-10-24 23:10:48 +00:00
class-wp-error.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-feed-cache-transient.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-feed-cache.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-hook.php Docs: Use correct order of arguments in the DocBlock for WP_Hook::has_filter(). 2017-09-21 10:00:48 +00:00
class-wp-http-cookie.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-http-curl.php I18N: Replace function name in error message in WP_Http_Curl::request() and WP_Http_Streams::request() with a placeholder. 2017-10-18 15:04:51 +00:00
class-wp-http-encoding.php
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php Docs: Remove superfluous @package WordPress and @subpackage notations used outside of file headers in a variety of core files. 2017-07-01 16:58:42 +00:00
class-wp-http-requests-response.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-http-response.php HTTP API: Use WP_HTTP_Response::set_data() in ::__construct() instead of directly accessing the $data property. 2017-10-03 15:18:46 +00:00
class-wp-http-streams.php I18N: Replace function name in error message in WP_Http_Curl::request() and WP_Http_Streams::request() with a placeholder. 2017-10-18 15:04:51 +00:00
class-wp-image-editor-gd.php Media: Rename several attachment related parameters from $post_id to $attachment_id for clarity, and improve related 2017-08-22 11:12:44 +00:00
class-wp-image-editor-imagick.php Media: Rename several attachment related parameters from $post_id to $attachment_id for clarity, and improve related 2017-08-22 11:12:44 +00:00
class-wp-image-editor.php Media: In WP_Image_Editor::make_image(), close previously opened output buffer if the file could not be created. 2018-10-11 08:11:23 +00:00
class-wp-list-util.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-locale-switcher.php REST API: Render response in user locale with ?_locale=user. 2018-10-21 15:03:40 +00:00
class-wp-locale.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-matchesmapregex.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-meta-query.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-metadata-lazyloader.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-network-query.php php7.3 compatibility: Fix compact throwing notices for multisite 2018-10-26 20:18:38 +00:00
class-wp-network.php Multisite: Pass network object instead of ID to pre_get_main_site_id. 2017-10-30 19:56:47 +00:00
class-wp-oembed-controller.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-10-23 17:48:39 +00:00
class-wp-post-type.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-post.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-query.php Query: Fix warning on counting non countable 2018-01-24 21:44:42 +00:00
class-wp-rewrite.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-role.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-roles.php Multisite: Improve initializing available roles when switch sites. 2017-09-27 21:44:44 +00:00
class-wp-session-tokens.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-simplepie-file.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-simplepie-sanitize-kses.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-site-query.php php7.3 compatibility: Fix compact throwing notices for multisite 2018-10-26 20:18:38 +00:00
class-wp-site.php Multisite: Revert [41719]. 2017-10-16 22:29:48 +00:00
class-wp-tax-query.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-taxonomy.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-term-query.php Correct param documentation for WP_Term_Query. 2018-10-10 04:16:47 +00:00
class-wp-term.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Revisions: Improve performance of WP_Text_Diff_Renderer_Table. 2018-10-20 08:36:40 +00:00
class-wp-theme.php Bundled Theme: Make twentynineteen the default theme. 2018-10-23 16:51:39 +00:00
class-wp-user-meta-session-tokens.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-user-query.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-user.php Multisite: Initialize a user's roles correctly when setting them up for a different site. 2017-09-27 21:10:45 +00:00
class-wp-walker.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-widget-factory.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-widget.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-xmlrpc-server.php php7.3 compatibility: Fix compact throwing notices 2018-10-24 16:33:52 +00:00
class-wp.php Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors. 2017-10-02 22:03:33 +00:00
class.wp-dependencies.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class.wp-scripts.php I18N: Set translations for all WordPress packages scripts. 2018-11-08 11:34:48 +00:00
class.wp-styles.php Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors. 2017-10-02 22:03:33 +00:00
comment-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
comment.php php7.3 compatibility: Fix compact throwing notices 2018-10-24 16:33:52 +00:00
compat.php General: In the is_countable() polyfill, if the provided object implements SimpleXMLElement or ResourceBundle, consider it countable. 2018-05-10 17:59:25 +00:00
cron.php Docs: Use third-person singular verbs in the summaries for wp_unschedule_hook() and wp_clear_scheduled_hook(). 2017-06-30 04:54:41 +00:00
date.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
default-constants.php Bundled Theme: Make twentynineteen the default theme. 2018-10-23 16:51:39 +00:00
default-filters.php Styles: Add helper functions for loading block styles. 2018-10-24 00:36:39 +00:00
default-widgets.php Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
deprecated.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
embed-template.php
embed.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-10-23 17:48:39 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Hardening: Ensure the attributes of enclosures are correctly escaped in RSS and Atom feeds. 2017-11-29 16:11:38 +00:00
formatting.php Block Editor: Update @wordpress dependencies to the latest version. 2018-11-12 02:27:57 +00:00
functions.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
functions.wp-scripts.php I18N: Improve JavaScript translation support. 2018-11-01 13:51:47 +00:00
functions.wp-styles.php
general-template.php REST API: Render response in user locale with ?_locale=user. 2018-10-21 15:03:40 +00:00
http.php HTTP: Don't treat localhost as same host by default. 2018-04-03 15:35:41 +00:00
kses.php KSES: Allow the download attribute on <a> tags. 2018-10-24 01:19:39 +00:00
l10n.php I18N: Improve JavaScript translation support. 2018-11-01 13:51:47 +00:00
link-template.php Privacy: Use the actual Privacy Policy page title in get_the_privacy_policy_link(). 2018-07-18 11:52:25 +00:00
load.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
locale.php
media-template.php Accessibility: Media: Improve the usage of a few label elements in the media templates. 2018-10-26 07:41:45 +00:00
media.php Privacy: Store plugin callbacks in associative array for flexibility. 2018-05-03 19:38:27 +00:00
meta.php REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-10-15 11:46:25 +00:00
ms-blogs.php Multisite: Document all return types in get_networks(). 2017-10-18 18:13:50 +00:00
ms-default-constants.php Multisite: Use get_current_blog_id() instead of $wpdb->blogid. 2017-10-02 01:44:47 +00:00
ms-default-filters.php Multisite: Only update a site's post count when post types of post are updated. 2017-10-02 03:09:44 +00:00
ms-deprecated.php Docs: Correct some @since MU notation that was broken in [41200]. 2017-10-03 17:44:48 +00:00
ms-files.php
ms-functions.php Email: Don't send notifications for site or network admin email address change to the default 'admin_email' value. 2018-01-23 13:47:40 +00:00
ms-load.php Multisite: Use WP_Network_Query in ms_load_current_site_and_network(). 2017-10-03 19:26:49 +00:00
ms-settings.php Multisite: Explicitly globalize global variables in ms-settings.php. 2017-10-16 17:06:48 +00:00
nav-menu-template.php Menus: Make sure current-menu-parent and current-menu-ancestor classes are properly set for parent items of post type archive submenu items. 2017-07-05 21:31:44 +00:00
nav-menu.php Menus: Add menu-$i slugs to mapping groups 2017-10-25 22:29:49 +00:00
option.php Transients: After [41963], add missing cron task for delete_expired_transients(). 2017-10-24 23:00:47 +00:00
pluggable-deprecated.php
pluggable.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
plugin.php Revert "Add wp.hooks - JavaScript actions and filters." 2017-10-04 20:25:49 +00:00
post-formats.php Docs: Improve the return description for get_post_format_slugs() to note that the array contains slugs as both keys and values. 2017-08-20 20:03:54 +00:00
post-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
post-thumbnail-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
post.php Blocks: Include necessary labels for the 'wp_block' post type. 2018-10-31 18:16:44 +00:00
query.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
registration-functions.php
registration.php
rest-api.php REST API: Improve performance by avoiding call_user_func(). 2018-10-29 00:49:40 +00:00
revision.php
rewrite.php Rewrite: In url_to_postid(), bail early if the URL does not belong to the site. 2017-10-06 23:29:51 +00:00
rss-functions.php
rss.php
script-loader.php Block Editor: Update @wordpress dependencies to the latest version matching Gutenberg 4.3.0 2018-11-12 17:02:54 +00:00
session.php
shortcodes.php Docs: Fix a typo in the DocBlock description for add_shortcode() introduced in [41281]. 2017-08-20 20:38:42 +00:00
spl-autoload-compat.php General: Move the __autoload() compat function into its own file to prevent deprecated notices being thrown by the compiler in PHP 7.2. 2017-07-28 01:15:52 +00:00
taxonomy.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
template-loader.php
template.php Docs: Don't reference non-existent hooks inline in the DocBlock descriptions for the following template functions: 2017-06-29 16:05:41 +00:00
theme.php Themes: Document the new theme features being added. 2018-10-24 04:16:39 +00:00
update.php Updates: Partially revert [42584], as this branch of code should always be run after a core update check. 2018-02-06 12:47:42 +00:00
user.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
vars.php
version.php Updating Twenty Nineteen, our new default theme for 2019, set for 5.0. 2018-11-12 23:20:51 +00:00
widgets.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
wlwmanifest.xml
wp-db.php WPDB: Use a PCRE syntax which supports PCRE compiled between 2003 and 2006. 2018-01-23 03:40:42 +00:00
wp-diff.php