Skip to content
Closed

5.0 #29

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
537 commits
Select commit Hold shift + click to select a range
13659fd
Privacy: fix the "Privacy Policy Guide updated" message and add a lin…
azaozz May 14, 2018
eb02a64
Privacy: fix markup for the table of contents on privacy policy guide…
azaozz May 14, 2018
c5387f1
Privacy: add `wp_page_for_privacy_policy` to `populate_options()`.
azaozz May 14, 2018
7dcbacc
Privacy: Escape comment URLs in personal export file to prevent XSS.
azaozz May 15, 2018
06b7524
Privacy: fix Export and Erase Personal Data list-tables on small scre…
SergeyBiryukov May 15, 2018
5755e77
Privacy: automatically create a Privacy Policy page when installing W…
SergeyBiryukov May 15, 2018
7e23571
Privacy: only remove the "Suggested text has changed" bubble when an …
SergeyBiryukov May 15, 2018
b9f0dbc
Privacy: Reposition log in policy link to avoid overlapping elements.
azaozz May 15, 2018
d3ec759
Privacy: require `manage_privacy_options` capability for showing `WP_…
iandunn May 15, 2018
dcd3b3b
Privacy: fix styling of the Privacy Settings buttons on mobile/small …
azaozz May 15, 2018
621b386
Privacy: fix styling of the "next steps" buttons on the Export/Erase …
azaozz May 15, 2018
5a35e11
Privacy: use the more compatible `word-break: break-all;`, see [43278].
azaozz May 15, 2018
2750118
Privacy: Rename exports folder to avoid deleting other files.
azaozz May 15, 2018
b55ffd3
Privacy: Require `manage_privacy_options` to edit policy page.
iandunn May 15, 2018
0e87a80
WordPress 4.9.6 RC 2.
iandunn May 15, 2018
d8fcefd
Post WordPress 4.9.6 RC 2 version bump.
iandunn May 15, 2018
91d7179
Bundled Themes: Add link to privacy policy page in footer.
iandunn May 17, 2018
08bf39b
Bundled Themes: Bump version numbers and update changelogs for 4.9.6 …
iandunn May 17, 2018
7781d02
Bump 4.9 branch to version 4.9.5.
iandunn May 17, 2018
6ed010d
Branch 4.9 is now 4.9.7-alpha.
ocean90 May 17, 2018
e563e30
Privacy: Correct the error check when creating an export folder in `w…
SergeyBiryukov May 21, 2018
2e3e405
Comments: Escape permalink values on edit screen to prevent XSS.
SergeyBiryukov May 21, 2018
eae65cf
Widgets: Allow basic inline tags in `wp_sidebar_description()`.
SergeyBiryukov May 21, 2018
53f9a24
Docs: Add missing documentation and duplicate hook references for `wp…
SergeyBiryukov May 21, 2018
b309e70
Docs: Document the `cookies` default comment field added in [42772].
SergeyBiryukov May 21, 2018
f27af57
Taxonomy: Improve cache handling when querying for terms using `all_w…
boonebgorges May 25, 2018
e86a6df
Build/Test Tools: Allow the unit test framework to be used without th…
johnbillion May 25, 2018
9f1f4ce
Users: In `wp_validate_user_request_key()`, properly return the `WP_E…
SergeyBiryukov Jun 13, 2018
ca15399
Posts, Post Types: Clear post password cookie when logging out.
SergeyBiryukov Jun 16, 2018
5cece53
Privacy: Fix typo in default privacy policy text.
SergeyBiryukov Jun 16, 2018
94acdb2
Privacy: Remove unnecessary `This email has been sent to ###EMAIL###`…
SergeyBiryukov Jun 16, 2018
c4b31e3
Community Events Dashboard: Always show a WordCamp if one is coming up.
SergeyBiryukov Jun 16, 2018
95f91dc
Privacy: Only link to menus panel in Customizer if selected privacy p…
SergeyBiryukov Jun 16, 2018
b58ca54
Privacy: Make sure `wp_add_privacy_policy_content()` does not cause a…
SergeyBiryukov Jun 16, 2018
0b5888c
Options, Meta APIs: Use the correct escaping function when outputting…
johnbillion Jun 16, 2018
204ff88
Security: Harden the random aspect of the hash used for user profile …
johnbillion Jun 16, 2018
5ab9fcc
Privacy: add `esc_html` to assertion in test_wp_comments_personal_dat…
azaozz Jun 18, 2018
f5f5f26
Media: Limit thumbnail file deletions to the same directory as the or…
johnbillion Jul 5, 2018
8be3954
Bump 4.9 branch to version 4.9.7
aaroncampbell Jul 5, 2018
169f2a4
Post 4.9.7 version bump for 4.9 branch
aaroncampbell Jul 5, 2018
f02581f
REST API: Declare user capabilities using JSON Hyper Schema's "target…
pento Jul 11, 2018
c8d1e3f
REST API: Expose revision count and last revision ID on Post response
pento Jul 13, 2018
b16c887
REST API: Tweak permission checks for taxonomy and term endpoints
pento Jul 13, 2018
f364b2f
Emoji: Update Twemoji to version 11.0.
pento Jul 13, 2018
96c83f4
REST API: Filter responses based on the `_fields` parameter, before d…
pento Jul 13, 2018
f691c31
Privacy: Silence is golden and invisible.
SergeyBiryukov Jul 16, 2018
92ad9c0
Privacy: do not show the comment cookies opt-in checkbox (on the fron…
SergeyBiryukov Jul 16, 2018
17ad493
Privacy: add user request type to the admin notification email subject.
SergeyBiryukov Jul 16, 2018
bff94e9
Privacy: Change `@since` entry for `user_request_confirmed_email_subj…
SergeyBiryukov Jul 16, 2018
a54f180
Privacy: on the Privacy Settings screen change `view` to `preview` wh…
SergeyBiryukov Jul 16, 2018
9b7b853
Privacy: append `(Draft)` to draft page titles in the page drop-down …
SergeyBiryukov Jul 16, 2018
358e9e0
Privacy: use `wp_login_url()` for the link in the user confirmation e…
SergeyBiryukov Jul 16, 2018
b7f8690
Login and Registration: Set a better default value for `$wp_error` pa…
SergeyBiryukov Jul 16, 2018
8123e21
Privacy: Use consistent values for the site name and URL used in noti…
SergeyBiryukov Jul 16, 2018
080c66d
Posts, Post Types: Add a new `add_inline_data` action which allows ex…
SergeyBiryukov Jul 16, 2018
0f75de1
Privacy: Don't replace comment author URL and email with anything.
azaozz Jul 17, 2018
e0e280d
Privacy: Add a setting to disable comment cookie consent.
azaozz Jul 17, 2018
95cf14f
TinyMCE: update to 4.8.0, changelog: https://www.tiny.cloud/docs/chan…
azaozz Jul 17, 2018
98972bf
Privacy: Fix tests after [43467].
azaozz Jul 17, 2018
0b5a5a2
TinyMCE: do not force-load external plugins, not needed any more and …
azaozz Jul 17, 2018
e9b4792
Privacy: Add filter for the subject of the erasure complete notificat…
azaozz Jul 17, 2018
0d2dcb5
Privacy: Rename `username_or_email_to_export` POST variable on Erase …
SergeyBiryukov Jul 17, 2018
f2783d5
Customize: Do not attempt to count uncountable value.
azaozz Jul 17, 2018
d9da76d
Editor: Use `apply_filters_deprecated()` for some deprecated filters.
SergeyBiryukov Jul 17, 2018
ad54dd6
Streams: When checking in `wp_is_stream()` escape the stream wrapper …
SergeyBiryukov Jul 17, 2018
2e3360d
Streams: Return early from `wp_is_stream()` for paths that aren't str…
SergeyBiryukov Jul 17, 2018
f08f3cd
Privacy: Remove some unnecessary code comments.
SergeyBiryukov Jul 17, 2018
8e1d7cd
Privacy: Enable pagination screen options for privacy requests list t…
SergeyBiryukov Jul 17, 2018
0ce9624
Privacy: Add `$request` to `$email_data` to make it available to all …
SergeyBiryukov Jul 17, 2018
26d12c9
REST API: Attachments controller should respect upload limits.
SergeyBiryukov Jul 17, 2018
6a3696f
REST API: Fix some incorrect `@since` tags.
SergeyBiryukov Jul 17, 2018
9f2e375
Taxonomy: Ensure that invalid term objects are discarded in `WP_Term_…
SergeyBiryukov Jul 17, 2018
5b25e87
Twenty Seventeen: Correct list item style for nested unordered lists.
SergeyBiryukov Jul 17, 2018
e2278c8
Privacy: Mark Privacy Policy page as such in the Pages list table.
SergeyBiryukov Jul 17, 2018
75bbe64
WordPress 4.9.8 Beta 1.
aaroncampbell Jul 17, 2018
1d5520c
Post WordPress 4.9.8 Beta 1 version bump.
aaroncampbell Jul 17, 2018
2080421
Privacy: Add unit tests for `_wp_privacy_send_request_confirmation_no…
SergeyBiryukov Jul 17, 2018
e86f3b6
Dashboard: Introduce the "Try Gutenberg" callout.
pento Jul 18, 2018
8e0b78f
I18N: Update list of continents and cities for the timezone selection.
SergeyBiryukov Jul 18, 2018
9c35dcd
Privacy: Use the actual Privacy Policy page title in `get_the_privacy…
SergeyBiryukov Jul 18, 2018
6426368
Privacy: Use a consistent case for "Privacy Policy page" on Privacy S…
SergeyBiryukov Jul 19, 2018
343e8d4
REST API: Support meta registration for specific object subtypes.
kadamwhite Jul 19, 2018
54842bc
Privacy: Improve grammar on Privacy Settings screen.
SergeyBiryukov Jul 19, 2018
7f7280e
WordPress 4.9.8 Beta 2.
aaroncampbell Jul 19, 2018
a98c411
Post WordPress 4.9.8 Beta 2 version bump.
aaroncampbell Jul 19, 2018
34376b5
Dashboard: Make some of the "Try Gutenberg" links translatable.
pento Jul 24, 2018
3e2ca8c
Dashboard: Improve "Try Gutenberg" subheading appearance for long hea…
pento Jul 24, 2018
f1e98d9
Comments: Ensure that themes overriding default `comment_form()` fiel…
SergeyBiryukov Jul 24, 2018
ed6fe25
Privacy: Remove the setting to enable comment cookies consent added i…
SergeyBiryukov Jul 24, 2018
054714a
I18N: Separate two "About" strings with different context.
SergeyBiryukov Jul 24, 2018
f147a71
REST API: Ensure attachments created with `WP_REST_Attachments_Contro…
SergeyBiryukov Jul 24, 2018
8880871
Privacy: Revert [43525].
SergeyBiryukov Jul 24, 2018
b67cd00
WordPress 4.9.8 RC 1.
aaroncampbell Jul 24, 2018
2ac2cba
Post WordPress 4.9.8 RC 1 version bump.
aaroncampbell Jul 24, 2018
ae1b5b3
Dashboard: Tweak the "Try Gutenberg" subheading line height.
pento Jul 26, 2018
d76cec5
Dashboard: Tweak the "Try Gutenberg" callout:
SergeyBiryukov Jul 26, 2018
140e33d
WordPress 4.9.8 RC 2.
aaroncampbell Jul 26, 2018
6daa32b
Post WordPress 4.9.8 RC 2 version bump.
aaroncampbell Jul 26, 2018
6887768
Gutenberg: Restrict "Try Gutenberg" based on capability and gutenstatus
aaronjorbin Jul 31, 2018
f4b5cf6
WordPress 4.9.8 RC 3.
aaroncampbell Jul 31, 2018
86d2f52
Post WordPress 4.9.8 RC 3 version bump.
aaroncampbell Jul 31, 2018
d0c5d33
Twenty Seventeen: Bump version number and update changelog for 4.9.8 …
SergeyBiryukov Aug 2, 2018
6bd37ce
Bump 4.9 branch to version 4.9.8.
ocean90 Aug 2, 2018
5d477aa
Tag 4.9.8
ocean90 Aug 2, 2018
4464ae8
Branch 5.0 from 4.9.8
pento Oct 5, 2018
8ba02e0
Bump 5.0 branch version to 5.0-alpha.
pento Oct 5, 2018
5655a9a
Bump the 5.0 branch package.json version to 5.0.0.
pento Oct 5, 2018
ccf6614
REST API: Define taxonomy visibility settings in schema
danielbachhuber Oct 8, 2018
9dd758a
REST API: Persist attributes for attachment links
danielbachhuber Oct 8, 2018
d348848
REST API: Declare `unfiltered_html` capability in links.
danielbachhuber Oct 8, 2018
72f676a
Build/Test: Remove npm-shrinkwrap.json
aaronjorbin Oct 9, 2018
bb3dc30
Build/Test: Update dependencies for 5.0
aaronjorbin Oct 9, 2018
f24452e
Build/Test: Use same grunt-qunit as trunk for 5.0
aaronjorbin Oct 9, 2018
d2c93a4
Build/Test Tools: Revert grunt-contrib-uglify update
aaronjorbin Oct 9, 2018
404dabf
Build tools: Combine webpack config files.
atimmer Oct 9, 2018
d1373c8
Build tools: Upgrade webpack to version 4.
atimmer Oct 9, 2018
70b303c
Correct param documentation for `WP_Term_Query`.
boonebgorges Oct 9, 2018
bc6c496
REST API: Load missing required file for multisite users
danielbachhuber Oct 10, 2018
27e2f6a
Build/Test Tools: Add PHP7.3 RC1 to the build matrix
johnbillion Oct 10, 2018
99f178c
General: Instruct file editors not to trim trailing whitespace in mar…
johnbillion Oct 10, 2018
f5c8be7
REST API: Enable users with `read_private_posts` to query for them.
danielbachhuber Oct 10, 2018
f489011
Tests: Use `WP_HTTP_UnitTestCase::skipTestOnTimeout()` in more HTTP t…
SergeyBiryukov Oct 11, 2018
c95bf0c
Tests: Introduce `Tests_HTTP_Functions::skipTestOnTimeout()`, mirrori…
SergeyBiryukov Oct 11, 2018
51899b6
Script loader: remove (PHP based) compression from `load-styles.php` …
SergeyBiryukov Oct 11, 2018
f959dfb
Customize: Increase the colour contrast of the line numbers in CodeMi…
SergeyBiryukov Oct 11, 2018
c27403d
Docs: Convert `@see` reference in `wp_checkdate()` DocBlock to `@link`.
SergeyBiryukov Oct 11, 2018
96cfe6e
Embeds: Avoid a JS error in `wp.receiveEmbedMessage` if `data` parame…
SergeyBiryukov Oct 11, 2018
e260e6e
Docs: Update `$meta_type` descriptions to include ’term’ as a valid t…
SergeyBiryukov Oct 11, 2018
130cd44
Docs: Correct parameter type for `WP_Privacy_Policy_Content::notice()`.
SergeyBiryukov Oct 11, 2018
509cc81
Docs: Correct `@since` value for `_wp_privacy_statuses()`.
SergeyBiryukov Oct 11, 2018
3b405ba
Taxonomy: Make sure `wp_list_categories()` correctly outputs term nam…
SergeyBiryukov Oct 11, 2018
0df2b51
Tests: Improve coverage for REST API term meta registration.
SergeyBiryukov Oct 11, 2018
184cf32
REST API: Pass correct ID to `meta->update_value` to permit setting t…
SergeyBiryukov Oct 11, 2018
b513113
REST API: Support pagination, order, search and other common query pa…
SergeyBiryukov Oct 11, 2018
1834c52
Media: In `WP_Image_Editor::make_image()`, close previously opened ou…
SergeyBiryukov Oct 11, 2018
cd6baab
Media: Ensure the "Edit more details" link in the attachment details …
SergeyBiryukov Oct 11, 2018
2588c1c
Build tools: Build @wordpress packages with webpack.
atimmer Oct 11, 2018
d7f287b
REST API: Include `permalink_template`/`generated_slug` for Posts
danielbachhuber Oct 11, 2018
007afd4
Build: Bump the version of node used on Travis to match `package.json…
SergeyBiryukov Oct 11, 2018
d8fc849
Database: In `require_wp_db()`, check if database constants are defin…
SergeyBiryukov Oct 12, 2018
647fa41
Script loader: Register @wordpress scripts.
atimmer Oct 12, 2018
6cd32e3
Build/Test Tools: Implement the automatic retry functionality that Tr…
pento Oct 13, 2018
9ee5c9d
Build/Test Tools: Remove an extra line incorrectly included in [43724].
pento Oct 13, 2018
06edce0
Build/Test Tools: Use 7.3 for PHP 7.3
aaronjorbin Oct 15, 2018
c4052ed
KSES: Allow HTML data-* attributes.
peterwilsoncc Oct 15, 2018
bb60df4
Posts: Remove the slug from Quick Edit for CPTs with `publicly_querya…
pento Oct 15, 2018
b0cd1e0
REST API: Move object type-specific metadata integrations from the wr…
felixarntz Oct 15, 2018
f273b8d
Load: Disable PHP errors for JSON requests
danielbachhuber Oct 15, 2018
6f6435f
KSES: Add selected ARIA attributes support.
peterwilsoncc Oct 15, 2018
6d417d9
Formatting: Add pre-save content filter to make target=_blank always …
peterwilsoncc Oct 16, 2018
51d8512
Formatting: Add new tests missed in [43732].
peterwilsoncc Oct 16, 2018
ca79cbb
REST API: Introduce themes endpoint to expose theme-supports values f…
kadamwhite Oct 16, 2018
95bfae3
REST API: Add new class file and tests missed in [43734].
kadamwhite Oct 16, 2018
5773ee9
REST API: Don't add fields to object when not included in `?_fields=`.
danielbachhuber Oct 17, 2018
f888c8d
REST API: Fire actions after items are completely updated/inserted.
danielbachhuber Oct 17, 2018
5e08141
Script loader: Adjust JS packages registration.
atimmer Oct 17, 2018
22d1068
REST API: Introduce controller for searching across post types.
danielbachhuber Oct 17, 2018
5b45675
REST API: Slash existing meta values when comparing with incoming met…
kadamwhite Oct 17, 2018
76468d6
REST API: Fix version number in `_doing_it_wrong()` call.
danielbachhuber Oct 17, 2018
15b8548
Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes.
pento Oct 18, 2018
7ae9e6a
Blocks: Introduce `register_block_type()`, `unregister_block_type()`,…
pento Oct 18, 2018
f8be144
Posts, Post Types: Add labels for post transformation messages.
danielbachhuber Oct 18, 2018
6a57068
Media: Remove checkered background for icons in Attachment Details.
SergeyBiryukov Oct 18, 2018
dcb3ac9
General: PHP 7.3 throws an `E_WARNING` when using continue to target …
SergeyBiryukov Oct 18, 2018
27d8e6f
Build/Test Tools: Remove `vendor` file name entry from `.gitignore.`
SergeyBiryukov Oct 18, 2018
280d790
Build/Test Tools: Instruct Git and Subversion to ignore Composer's `v…
SergeyBiryukov Oct 18, 2018
f74570d
Media: In `wp_read_image_metadata()`, rename `$sourceImageType` varia…
SergeyBiryukov Oct 18, 2018
56b7476
Media: Pass EXIF data to the `wp_read_image_metadata` filter.
SergeyBiryukov Oct 18, 2018
570fc2a
Blocks: Introduce the block parser.
pento Oct 18, 2018
36cc615
Blocks: Parse blocks when displaying posts.
pento Oct 18, 2018
4a2af25
Script loading: Fix regression after [43738].
atimmer Oct 18, 2018
6173837
Script loading: Fix a PHP error introduced in [43753].
atimmer Oct 18, 2018
b11a2cf
REST API: Fix permissions error message in post statuses controller.
danielbachhuber Oct 18, 2018
111a9ea
REST API: Correct HTTP status code in error for requests to create a …
danielbachhuber Oct 18, 2018
93817f5
REST API: generate a valid fallback URI in wp.api.utils.getRootURL.
danielbachhuber Oct 18, 2018
fddc8d9
Classic Editor: Disable the wpautop TinyMCE plugin on block posts.
pento Oct 19, 2018
d73d13e
i18n: Add the `wp_get_jed_locale_data()` function.
pento Oct 19, 2018
fd21d0a
Build Tools: Copy package JavaScript and CSS into `wp-includes`.
pento Oct 19, 2018
ca27574
General: Extract the code editor settings from `wp_enqueue_code_edito…
pento Oct 19, 2018
3ba1a2b
Block Editor: Add helper functions for displaying the editor.
pento Oct 19, 2018
88fbc8f
REST API: Introduce the `rest_preload_api_request()` function.
pento Oct 19, 2018
e746cb6
i18n: Remove some translation domains accidentally included in [43762].
pento Oct 19, 2018
583e422
Deactivate Gutenberg plugin on update to 5.0.
mcsf Oct 19, 2018
60b2d59
REST API: Ensure rest_url() consistently has leading slash.
danielbachhuber Oct 19, 2018
e8eabb8
REST API: Use a truly impossibly high number in User Controller tests.
danielbachhuber Oct 19, 2018
ef67f4a
REST API: Introduce Autosaves controller and endpoint.
danielbachhuber Oct 19, 2018
523213a
REST API: Skip Autosaves controller test for multisite.
danielbachhuber Oct 19, 2018
e961334
REST API: Include `block_version` on Post `content` object.
danielbachhuber Oct 19, 2018
7eeb2e5
REST API: Handle api-request query parameters with plain permalinks.
danielbachhuber Oct 19, 2018
445e2ea
Help/About: Ensure the space after the period for the 4.9.8 changelog…
danielbachhuber Oct 19, 2018
de6ca79
REST API: Limit the scope of wp-admin files required in WP_REST_Attac…
danielbachhuber Oct 19, 2018
48ae93d
REST API: Restore Autosaves controller test for multisite.
SergeyBiryukov Oct 20, 2018
709329b
Revisions: Improve performance of `WP_Text_Diff_Renderer_Table`.
pento Oct 20, 2018
a398d99
REST API: Render response in user locale with `?_locale=user`.
danielbachhuber Oct 21, 2018
d0eaeb3
Block Editor: Add an `is_block_editor()` method to `WP_Screen`.
pento Oct 22, 2018
0154e30
Block Editor: Add helper functions to collect meta box information.
pento Oct 22, 2018
5753786
Meta Boxes: Add `__back_compat_meta_box` and `__block_editor_compatib…
pento Oct 22, 2018
b5c0d60
Block Editor: Add extra body classes when the block editor is loaded.
pento Oct 22, 2018
0dffb08
KSES: Allow `url()` to be used in inline CSS.
pento Oct 22, 2018
34aa09d
Build: Switch package.json to using tabs for indents.
pento Oct 22, 2018
ceaf09a
Build: Ignore the vendor directory during the `jsvalidate:build` task.
pento Oct 22, 2018
12a7cf7
Build: Updated CSS vendor prefixes following [43684].
pento Oct 22, 2018
c676504
Build: Update images following [43684].
pento Oct 22, 2018
d94fa84
Build/Tools: Add PHPCS to the 5.0 branch.
pento Oct 22, 2018
96a8987
TinyMCE: remove stray CSS map reference from `skin.min.css`.
pento Oct 22, 2018
91f1b57
Script/Style Dependencies: Make sure that inline scripts for handles …
pento Oct 22, 2018
d45455e
Build tools: Upgrade @wordpress packages.
atimmer Oct 22, 2018
443771e
Themes: Introduce responsive embeds support.
danielbachhuber Oct 22, 2018
1fc8a06
Themes: Remove a stray slash and `gutenberg` text domain.
ocean90 Oct 22, 2018
9c4aff4
Meta Boxes: Sync checks for valid meta boxes from `do_meta_boxes()` t…
ocean90 Oct 22, 2018
06a77e8
Twenty Ten: Add styles and support for the new block-based editor.
davidakennedy Oct 22, 2018
44da7d6
Twenty Eleven: Add styles and support for the new block-based editor.
davidakennedy Oct 22, 2018
fcabcf1
Twenty Twelve: Add styles and support for the new block-based editor.
davidakennedy Oct 22, 2018
d5e7451
Twenty Thirteen: Add styles and support for the new block-based editor.
davidakennedy Oct 22, 2018
ae00fd9
Twenty Fourteen: Add styles and support for the new block-based editor.
davidakennedy Oct 23, 2018
b6023b4
Twenty Fifteen: Add styles and support for the new block-based editor.
davidakennedy Oct 23, 2018
067529b
Twenty Sixteen: Add styles and support for the new block-based editor.
davidakennedy Oct 23, 2018
2d4c428
Twenty Seventeen: Add styles and support for the new block-based editor.
davidakennedy Oct 23, 2018
ff39bf3
Build: Update the `@wordpress/editor` package.
pento Oct 23, 2018
cf0f8e8
Script Loader: Fix metadata being registered as an inline script.
pento Oct 23, 2018
4bdfa3d
Scripts: `wp-url` is a dependency of `wp-api-fetch`.
pento Oct 23, 2018
2b18dcd
Blocks: Add the reusable block post type, `wp_block`.
pento Oct 23, 2018
9811439
REST API: Add endpoints for blocks.
pento Oct 23, 2018
e9abe64
Blocks: Fix coding standards introduced in [43804].
danielbachhuber Oct 23, 2018
838bad6
Dashboard: Remove the Try Gutenberg callout.
pento Oct 23, 2018
00a68dc
Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.
Oct 23, 2018
51d04a1
Bundled Theme: Make twentynineteen the default theme.
aaronjorbin Oct 23, 2018
8c0b678
Embeds: Filter HTML response in oEmbed proxy controller.
danielbachhuber Oct 23, 2018
dfbe885
Meta: Allow empty strings to be set by Custom Fields meta box.
danielbachhuber Oct 23, 2018
2bfffb3
Styles: Add helper functions for loading block styles.
pento Oct 24, 2018
52beb9c
KSES: Allow the `download` attribute on `<a>` tags.
pento Oct 24, 2018
f488d42
Themes: Document the new theme features being added.
pento Oct 24, 2018
3609a27
Editor: Minor bug fixes.
pento Oct 24, 2018
9673e83
Block Editor: Remove some errant debugging included in [43815].
pento Oct 24, 2018
c524dc9
Build tools: Build webpack dev in `grunt build`.
atimmer Oct 24, 2018
efce353
Scripts: Add a missing date format to the `wp-date` config.
pento Oct 24, 2018
5a3ad21
php7.3 compatibility: Fix compact throwing notices
aaronjorbin Oct 24, 2018
546e59f
Upgrade/Install: Convert `Sample Page`, `Hello World`, and `Privacy P…
SergeyBiryukov Oct 24, 2018
5cf0de4
Bundled Themes: Remove languages folder with POT file from Twenty Nin…
ocean90 Oct 24, 2018
cef611a
WordPress 5.0 Beta 1.
pento Oct 24, 2018
4452b29
Post WordPress 5.0 Beta 1 version bump.
pento Oct 24, 2018
6da9e42
Build tools: Clone and build from packages repo.
atimmer Oct 25, 2018
4f05bb8
I18N: Add JavaScript translation support.
Oct 25, 2018
2d74b71
Build tools: Fix build after [43824].
atimmer Oct 25, 2018
ebcfbfe
Docs: Link to the "Conditional Tags" article in the Theme Developer H…
DrewAPicture Oct 26, 2018
845f569
Tests: Use `DIR_TESTDATA` in `test_wp_set_script_translation()`.
SergeyBiryukov Oct 26, 2018
9cd32b9
Accessibility: Media: Improve the usage of a few label elements in th…
pento Oct 26, 2018
0ba73f2
Meta Boxes: Fix error when a meta box is rendered with a static metho…
pento Oct 26, 2018
8dbb161
Script Loader: Add translator comments and remove textdomains.
pento Oct 26, 2018
894e847
php7.3 compatibility: Fix compact throwing notices for multisite
aaronjorbin Oct 26, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[{*.txt,wp-config-sample.php}]
end_of_line = crlf
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ wp-tests-config.php

# Files and folders related to build/test tools
/phpunit.xml
/.phpcs.xml
/phpcs.xml
/tests/phpunit/data/plugins/wordpress-importer
/tests/phpunit/data/.trac-ticket-cache*
/tests/qunit/compiled.html
Expand All @@ -17,6 +19,10 @@ wp-tests-config.php
/tests/phpunit/build
/wp-cli.local.yml
/jsdoc
/vendor
/src/wp-includes/js/dist
/src/wp-includes/css/dist
/packages

# Files and folders that get created in wp-content
/src/wp-content/blogs.dir
Expand Down Expand Up @@ -57,5 +63,3 @@ wp-tests-config.php
*.patch
*.diff
.svn

vendor
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
- WP_TRAVISCI=travis:phpunit
matrix:
include:
- php: 7.3
- php: 7.1
env: WP_TRAVISCI=travis:js
- php: 7.2
Expand All @@ -30,6 +31,7 @@ matrix:
- php: nightly
allow_failures:
- php: nightly
- php: 7.3
before_install:
- |
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
Expand All @@ -38,7 +40,7 @@ before_install:
sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php
sed -i "s/yourusernamehere/root/" wp-tests-config.php
sed -i "s/yourpasswordhere//" wp-tests-config.php
svn checkout https://plugins.svn.wordpress.org/wordpress-importer/tags/0.6.3/ tests/phpunit/data/plugins/wordpress-importer
travis_retry svn checkout https://plugins.svn.wordpress.org/wordpress-importer/tags/0.6.3/ tests/phpunit/data/plugins/wordpress-importer
fi
- |
if [[ "$WP_TRAVIS_OBJECT_CACHE" == "true" ]]; then
Expand All @@ -63,13 +65,13 @@ before_script:
# Install the specified version of PHPUnit depending on the PHP version:
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
case "$TRAVIS_PHP_VERSION" in
7.2|7.1|7.0|nightly)
7.3|7.2|7.1|7.0|nightly)
echo "Using PHPUnit 6.x"
composer global require "phpunit/phpunit:^6"
travis_retry composer global require "phpunit/phpunit:^6"
;;
5.6|5.5|5.4|5.3)
echo "Using PHPUnit 4.x"
composer global require "phpunit/phpunit:^4"
travis_retry composer global require "phpunit/phpunit:^4"
;;
5.2)
# Do nothing, use default PHPUnit 3.6.x
Expand All @@ -83,7 +85,7 @@ before_script:
fi
- npm --version
- node --version
- nvm install 6.9.1
- nvm install 8.9.3
- npm install -g grunt-cli
- npm install
- npm prune
Expand Down
40 changes: 34 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* jshint node:true */
/* globals Set */
var webpackConfig = require( './webpack.config.prod' );
var webpackDevConfig = require( './webpack.config.dev' );
var webpackConfig = require( './webpack.config' );
var execSync = require( 'child_process' ).execSync;

module.exports = function(grunt) {
var path = require('path'),
Expand All @@ -12,6 +12,8 @@ module.exports = function(grunt) {
BANNER_TEXT = '/*! This file is auto-generated */',
autoprefixer = require( 'autoprefixer' );

var packageJson = grunt.file.readJSON( 'package.json' );

// Load tasks.
require('matchdep').filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks );
// Load legacy utils
Expand Down Expand Up @@ -544,11 +546,16 @@ module.exports = function(grunt) {
},
src: SOURCE_DIR + 'wp-includes/js/jquery/jquery.masonry.js',
dest: SOURCE_DIR + 'wp-includes/js/jquery/jquery.masonry.min.js'
},
imgareaselect: {
src: SOURCE_DIR + 'wp-includes/js/imgareaselect/jquery.imgareaselect.js',
dest: SOURCE_DIR + 'wp-includes/js/imgareaselect/jquery.imgareaselect.min.js'
}
},
webpack: {
prod: webpackConfig,
dev: webpackDevConfig
prod: webpackConfig( { environment: 'production' } ),
dev: webpackConfig( { environment: 'development' } ),
watch: webpackConfig( { environment: 'development', watch: true } )
},
concat: {
tinymce: {
Expand Down Expand Up @@ -599,7 +606,8 @@ module.exports = function(grunt) {
files: {
src: [
BUILD_DIR + 'wp-{admin,includes}/**/*.js',
BUILD_DIR + 'wp-content/themes/twenty*/**/*.js'
BUILD_DIR + 'wp-content/themes/twenty*/**/*.js',
'!' + BUILD_DIR + 'wp-includes/js/dist/vendor/*.js'
]
}
}
Expand Down Expand Up @@ -717,7 +725,6 @@ module.exports = function(grunt) {
config: {
files: [
'Gruntfile.js',
'webpack-dev.config.js',
'webpack.config.js'
]
},
Expand Down Expand Up @@ -780,6 +787,24 @@ module.exports = function(grunt) {
'qunit:compiled'
] );

grunt.registerTask( 'download-packages', function() {
var directory = 'packages';
var version = packageJson.wordpress.packagesVersion;

if ( ! grunt.file.exists( directory ) ) {
// Clone gutenberg
execSync( 'git clone https://github.com/WordPress/gutenberg.git ' + directory, { stdio: 'inherit' } );
}

execSync( 'git fetch --tags', { cwd: directory, stdio: 'inherit' } );

// Make sure we are on the correct version of Gutenberg.
execSync( 'git reset --hard ' + version, { cwd: directory, stdio: 'inherit' } );

// Install Gutenberg dependencies and build the packages.
execSync( 'npm install', { cwd: directory, stdio: 'inherit' } );
} );

grunt.renameTask( 'watch', '_watch' );

grunt.registerTask( 'watch', function() {
Expand All @@ -799,6 +824,7 @@ module.exports = function(grunt) {
'webpack:prod',
'jshint:corejs',
'uglify:masonry',
'uglify:imgareaselect',
'qunit:compiled'
] );

Expand Down Expand Up @@ -931,6 +957,8 @@ module.exports = function(grunt) {
'includes:emoji',
'includes:embed',
'usebanner',
'webpack:prod',
'webpack:dev',
'jsvalidate:build'
] );

Expand Down
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "wordpress/wordpress",
"license": "GPL-2.0-or-later",
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
"homepage": "https://wordpress.org",
"keywords": [
"blog", "cms", "wordpress", "wp"
],
"support": {
"issues": "https://core.trac.wordpress.org/"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "~0.4.4",
"wp-coding-standards/wpcs": "~1.0.0"
},
"scripts": {
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
"lint": "phpcs --standard=phpcs.xml.dist --report-summary --report-source"
}
}
180 changes: 180 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading