forked from WordPress/WordPress
-
Notifications
You must be signed in to change notification settings - Fork 0
Update #1
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
Open
tu-vu-duy
wants to merge
10,000
commits into
focusjs:master
Choose a base branch
from
WordPress:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update #1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Because `WordPress/wordpress-develop` is a mirror, the only way to contribute to WordPress on GitHub is by forking the repository (even when a contributor has write access as a Core Committer). This updates the “Getting Started” section to make this more clear. The section about how to contribute using GitHub Codespaces is also being removed since this has been broken for some time (see #57896). This section can be reintroduced once the underlying tooling is fixed. Props pbearne, desrosj, westonruter, wildworks, peterwilsoncc. Fixes #64100. See #57896. Built from https://develop.svn.wordpress.org/trunk@61202 git-svn-id: http://core.svn.wordpress.org/trunk@60538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The `cd wordpress-develop` step is now mentioned for both approaches for creating a fork and cloning listed above. Follow up to [61202]. Props pbearne, desrosj, westonruter, wildworks, peterwilsoncc. See #64100. Built from https://develop.svn.wordpress.org/trunk@61203 git-svn-id: http://core.svn.wordpress.org/trunk@60539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Introducing the new content for the 6.9 About page. This release also introduce new header images across the About section. See #63941. Props desrosj, jeffpaul, 4thhubbard, priethor, annezazu, fcoveram, joedolson, ryelle, peterwilsoncc. Built from https://develop.svn.wordpress.org/trunk@61204 git-svn-id: http://core.svn.wordpress.org/trunk@60540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the following `devDependencies`: - `@playwright/test` from `1.50.1` to `1.56.1`. - `@pmmmwh/react-refresh-webpack-plugin` from `0.5.15` to `0.6.1`. - `autoprefixer` from `10.4.20` to `10.4.22`. - `chalk` from `5.4.1` to `5.6.2`. - `copy-webpack-plugin` from `13.0.0` to `13.0.1`. - `cssnano` from `7.0.6` to `7.1.2`. - `dotenv` from `16.4.7` to `17.2.3`. - `dotenv-expand` from `12.0.1` to `12.0.3`. - `grunt-sass` from `4.0.0` to `4.0.1`. - `postcss` from `8.5.3` to `8.5.6`. - `qunit` from `2.23.1` to `2.24.2`. - `sass` from `1.85.1` to `1.94.0`. - `terser-webpack-plugin` from `5.3.12` to `5.3.14`. - `uuid` from `11.1.0` to `13.0.0`. - `wait-on` from `8.0.2` to `9.0.3`. A new variable, `DOTENV_CONFIG_QUIET`, has been added to the `.env.example` file to silence tips output by the `dotenv` dependency. Additionally, `npm audit fix` has been run. Props peterwilsoncc, desrosj. See #63171. Built from https://develop.svn.wordpress.org/trunk@61205 git-svn-id: http://core.svn.wordpress.org/trunk@60541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the `devDependencies` for each of the default themes with `package.json` files with a few exceptions: - `eslint`: This was updated to the latest `8.x` version only since `9.x` is not yet properly supported by `@wordpress/eslint-plugin`. - `stylelint`-related packages: these updates are resulting in formatting changes. These need to be examined more carefully as they’re likely undesired and require adjustments to the configuration file. Props peterwilsoncc, desrosj. Fixes #63171. Built from https://develop.svn.wordpress.org/trunk@61206 git-svn-id: http://core.svn.wordpress.org/trunk@60542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props jorbin, mukesh27. See #63167. Built from https://develop.svn.wordpress.org/trunk@61207 git-svn-id: http://core.svn.wordpress.org/trunk@60543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [61204]. See #63941. Built from https://develop.svn.wordpress.org/trunk@61208 git-svn-id: http://core.svn.wordpress.org/trunk@60544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the following third-party GitHub Actions: - `actions/github-script` from `7.0.1` to `8.0.0`. - `actions/checkout` from `4.2.2` to `5.0.0`. - `actions/setup-node` from `4.3.0` to `6.0.0`. - `actions/upload-artifact` from `4.6.2` to `5.0.0`. - `actions/cache` from `4.2.4` to `4.3.0`. - `actions/download-artifact` from `5.0.0` to `6.0.0`. - `shivammathur/setup-php` from `2.35.3` to `2.35.5`. - `codecov/codecov-action` from `5.4.3` to `5.5.1`. See #63170. Built from https://develop.svn.wordpress.org/trunk@61209 git-svn-id: http://core.svn.wordpress.org/trunk@60545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Previously, if any roles were filtered out via `array_filter()` when assigning the `WP_User::$roles` property in `WP_User::get_role_caps()`, the resulting array could contain non-sequential numeric keys, which would then cause it to be treated as an object when JSON-encoded, e.g. in `wp_localize_script()`, instead of a proper array, breaking client-side expectations. This commit ensures that the `WP_User::$roles` property is always treated as an array. Follow-up to [2703], [2793], [22118]. Props haruncpi, peterwilsoncc, SirLouen, getsyash, wildworks, johnjamesjacoby, SergeyBiryukov. Fixes #63427. Built from https://develop.svn.wordpress.org/trunk@61210 git-svn-id: http://core.svn.wordpress.org/trunk@60546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Changes can be found at https://github.com/WordPress/gutenberg/commits/wp/6.9/. Developed in WordPress/wordpress-develop#10495. See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches. Fixes #64220. Props priethor. Built from https://develop.svn.wordpress.org/trunk@61211 git-svn-id: http://core.svn.wordpress.org/trunk@60547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This ensures clean environment in case of a previous test failure. Follow-up to [56689]. Props aslamdoctor, wildworks, peterwilsoncc, SirLouen, mindctrl, kalpeshh, yashjawale, sachinrajcp123, SergeyBiryukov. Fixes #63443. Built from https://develop.svn.wordpress.org/trunk@61212 git-svn-id: http://core.svn.wordpress.org/trunk@60548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Built from https://develop.svn.wordpress.org/trunk@61213 git-svn-id: http://core.svn.wordpress.org/trunk@60549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Built from https://develop.svn.wordpress.org/trunk@61214 git-svn-id: http://core.svn.wordpress.org/trunk@60550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The data returned from `WP_Scripts::print_translations()` when `$display` is `false` may be used in unpredictable ways that are incompatible with `sourceURL` comments. Omit the `sourceURL` comment in this case. Developed in WordPress/wordpress-develop#10505. Follow-up to [60719]. Props jonsurrell, ralucastn, westonruter, peterwilsoncc. See #63887. Built from https://develop.svn.wordpress.org/trunk@61223 git-svn-id: http://core.svn.wordpress.org/trunk@60552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…tions. Per the [https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#naming-conventions Naming Conventions]: > Don’t abbreviate variable names unnecessarily; let the code be unambiguous and self-documenting. This commit includes renaming of the following variables: - `$post_ID` to `$post_id` — “Use lowercase letters in variable, action/filter, and function names”. - `$ext_type` to `$extension_type`. - `$ext` to `$extension`. - `$id3data` to `$id3_data` — “Separate words via underscores”. - `$msg` to `$message`. - `$sb` to `$sidebar`. - `$alt` to `$alternate`. - `$pid` to `$post_id`. - `$mid` to `$meta_id`. - `$menu_obj` to `$menu_object`. - `$noparents` to `$no_parents` — “Separate words via underscores”. - `$sup` to `$supplemental`. - `$cat_id` to `$category_id`. - `$cat_name` to `$category_name`. - `$out` to `$output`. - `$r` to `$edit_result`. - `$t` to `$taxonomy`. - `$u` to `$update_result`. - `$r` to `$result`. - `$response` to `$response_data`. - `$x` to `$response`. Follow-up to [53723], [55365]. Props costdev, mukesh27, SergeyBiryukov. See #64226. Built from https://develop.svn.wordpress.org/trunk@61224 git-svn-id: http://core.svn.wordpress.org/trunk@60553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
[61018] was a good way to quickly limit the number of jobs spawned by the PHPUnit test workflow during the time leading up to beta releases for the 6.9 release, but this approach is not sustainable. This reverts that commit so a better long term solution can be explored in #64083. See #63170, #64083. Built from https://develop.svn.wordpress.org/trunk@61225 git-svn-id: http://core.svn.wordpress.org/trunk@60554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit removes an unnecessary `empty( $modes_str )` check, as the previous code block already checks the same value and returns early. Follow-up to [30587], [56475]. Props justlevine. See #64238. Built from https://develop.svn.wordpress.org/trunk@61243 git-svn-id: http://core.svn.wordpress.org/trunk@60555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…rray intested of object).
Theis commit fixes two issues with the core abilities schemas we have:
- They have examples on the schema with is not complient with the version draft-04 of schema JSON we are using.
- The top level defaults are defined as an empty array and they are of type object, but a php empty array gets JSON serialized and returned in the rest API as [] instead of {}, causing problems on the client validation.
Developed in #10510.
Props jorgefilipecosta, gziolo.
Fixes #64252.
Built from https://develop.svn.wordpress.org/trunk@61244
git-svn-id: http://core.svn.wordpress.org/trunk@60556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
MySQL 9.5 is the most recent innovation release. This updates the GitHub Actions workflows testing against innovation release versions to use this new version. See #64225. Built from https://develop.svn.wordpress.org/trunk@61245 git-svn-id: http://core.svn.wordpress.org/trunk@60557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fixes an issue where if a paragraph/heading had a custom font size and then was conververted to the stretchy variation. The custom font size on the front end was applied instead of fit text. Developed in: WordPress/wordpress-develop#10517 Props jorgefilipecosta, mcsf, mrwweb. Fixes #64254. Built from https://develop.svn.wordpress.org/trunk@61246 git-svn-id: http://core.svn.wordpress.org/trunk@60558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ic operations. Follow-up to [35477], [53104], [56101]. Props justlevine. See #64238. Built from https://develop.svn.wordpress.org/trunk@61247 git-svn-id: http://core.svn.wordpress.org/trunk@60559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensure that when a top level note is trashed (or deleted), all of its replies (children) are also trashed or deleted. If EMPTY_TRASH_DAYS is 0, notes are deleted immediately; otherwise they are marked as trash for later cleanup. Props adamsilverstein, desrosj, wildworks, mamaduka, karthickmurugan, jeffpaul, shailu25. Fixes #64240. Built from https://develop.svn.wordpress.org/trunk@61248 git-svn-id: http://core.svn.wordpress.org/trunk@60560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This is exactly the same as version 6.11.1 but bumps the major version number to indicate the presence of a backward compatibility break in child classes. Specifically, `lang()`, `setLanguage()`, and `$language` are now static, and should be called statically. References: * [https://github.com/PHPMailer/PHPMailer/releases/tag/v7.0.0 PHPMailer 7.0.0 release notes] * [PHPMailer/PHPMailer@v6.11.1...v7.0.0 Full list of changes in PHPMailer 7.0.0] Follow-up to [54937], [55557], [56484], [57137], [59246], [59481], [60623], [60813], [60888]. Props SirLouen. Fixes #64101. Built from https://develop.svn.wordpress.org/trunk@61249 git-svn-id: http://core.svn.wordpress.org/trunk@60561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…dy defined. This aims to provide more flexibility in preloading some environment settings before initializing WordPress. Follow-up to [18993], [57748]. Props ninos-ego, dd32, swissspidy, SergeyBiryukov. Fixes #63627. Built from https://develop.svn.wordpress.org/trunk@61250 git-svn-id: http://core.svn.wordpress.org/trunk@60562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In [60812], two changes related to PHP 8.5 compatibility were cherry picked from the upstream repository to be included in time for WordPress 6.9. Since then, a proper release has been tagged which includes several bug fixes in addition to the previous two changes. HEIF support has also been added to the Quicktime audio/video module. A full list of changes can be found on GitHub: https://github.com/JamesHeinrich/getID3/releases/tag/v1.9.24 Props TobiasBg. Fixes #64253. Built from https://develop.svn.wordpress.org/trunk@61253 git-svn-id: http://core.svn.wordpress.org/trunk@60565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…een to “Bulk edit”. This aims to clarify the action being performed. Follow-up to [8682], [8857], [8981], [9018], [15491], [48352]. Props antonrinas, SirLouen, johnbillion, karmatosed, SergeyBiryukov. Fixes #35546. Built from https://develop.svn.wordpress.org/trunk@61255 git-svn-id: http://core.svn.wordpress.org/trunk@60567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This adds the correct string for performance changes, updates the header images to not have rounded corners, and updates the release badge to use the stylized 6.9 icon. Props ryelle, peterwilsoncc, westonruter. See #63941. Built from https://develop.svn.wordpress.org/trunk@61257 git-svn-id: http://core.svn.wordpress.org/trunk@60569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Removes the `title` attribute from the `abbr` element in favour of inline text `LCP (Largest Contentful Paint)` to improve accessibility of the phrase as the `title` attribute is often unavailable to assistive technology users. Props wildworks, ryelle. See #63941. Built from https://develop.svn.wordpress.org/trunk@61258 git-svn-id: http://core.svn.wordpress.org/trunk@60570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ers. Follow up to r60993. See #51403 Built from https://develop.svn.wordpress.org/trunk@61261 git-svn-id: http://core.svn.wordpress.org/trunk@60573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Changes can be found at https://github.com/WordPress/gutenberg/commits/wp/6.9/. - [Block Bindings: Add unit test coverage for `core/post-data` source](WordPress/gutenberg#73055) - [Block Bindings: Error handling for external sources.](WordPress/gutenberg#72585) - [Notes: Collapse note on blur](WordPress/gutenberg#73158) - [Border-radius values triggers unintended px conversion](WordPress/gutenberg#73324) - [Fix navigation tag entity binding](WordPress/gutenberg#73255) - [DataViews: ensure primary actions are not wrapped in the list layout](WordPress/gutenberg#73345) - [Fix: Fit Text may overflow into the padding area.](WordPress/gutenberg#73327) - [Merge "Icon Size" and "Icon size" translation strings](WordPress/gutenberg#73325) - [Notes: Improve delete confirm message for replies](WordPress/gutenberg#73173) - [Fix: Custom font size taking over fit text.](WordPress/gutenberg#73241) - [Fix a11y of descriptions and alerts for "Invalid" Nav Items](WordPress/gutenberg#73177) - [Stretchy text: Hide variations in Block Inspector (hack)](WordPress/gutenberg#73238) - [Update button label from "Add new note" to "Add new reply"](WordPress/gutenberg#73189) - [Notes: Fix first note creation with pinned sidebar](WordPress/gutenberg#73164) Developed in WordPress/wordpress-develop#10528. See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches. Fixes #64267. Props priethor. Built from https://develop.svn.wordpress.org/trunk@61262 git-svn-id: http://core.svn.wordpress.org/trunk@60574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset enables smooth transitions between the different admin screens. For the admin menu items, distinct view transition names are used to facilitate a simple visual slide effect when the active submenu changes between screens. Props westonruter, mukesh27, joedolson. Fixes #64470. Built from https://develop.svn.wordpress.org/trunk@61491 git-svn-id: http://core.svn.wordpress.org/trunk@60802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset improves the Gutenberg build integration to simplify the developer workflow and reinstore a flow similar to how package dependencies worked before the Gutenberg checkout-and-build approach was introduced. Key improvements: * Automatic rebuild on ref change: Adds a new `gutenberg:sync` script that stores a hash of the built ref in `.gutenberg-hash` and only rebuilds when the ref changes. * Full integration on `npm install`: Running `npm install` now produces a fully working development environment with Gutenberg assets in `src/`. * Clean Gutenberg checkout: Restores Gutenberg's `package.json` after the build completes. * Stops copying `.js.map` files to `wp-includes/js/dist` since they reference non-existent paths. * Remove package.json files from the build folder. * Avoid closures and use prefixed functions. * Updates build checks to use `jquery.js` instead of `edit-post.js` as the build indicator. Props youknowriad, ellatrix, mcsf, dmsnell, ntsekouras, jorgefilipecosta, tobiasbg, peterwilsoncc. Fixes #64393. Built from https://develop.svn.wordpress.org/trunk@61492 git-svn-id: http://core.svn.wordpress.org/trunk@60803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…lvl()`. Follow-up to [25642]. Props marian1, shailu25, sabernhardt. Fixes #64514. Built from https://develop.svn.wordpress.org/trunk@61493 git-svn-id: http://core.svn.wordpress.org/trunk@60804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [61020]. Props nareshbheda. Fixes #64517. Built from https://develop.svn.wordpress.org/trunk@61494 git-svn-id: http://core.svn.wordpress.org/trunk@60805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…_recent_posts()`. This fixes an issue when a non-integer is returned by `get_the_time( 'U' )` which can occur when a plugin filters `get_the_time`. In this case, the non-relative date is displayed in the Activity dashboard widget. Developed in WordPress/wordpress-develop#10729 Follow-up to [26690], [26242]. Props sabernhardt, vanhoucke, westonruter. Fixes #64496. Built from https://develop.svn.wordpress.org/trunk@61495 git-svn-id: http://core.svn.wordpress.org/trunk@60806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [59823]. Props marian1, showravhasan, sabernhardt, mukesh27. See #61965, #64224. Fixes #64515. Built from https://develop.svn.wordpress.org/trunk@61496 git-svn-id: http://core.svn.wordpress.org/trunk@60807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [44121]. Props marian1. Fixes #64524. Built from https://develop.svn.wordpress.org/trunk@61497 git-svn-id: http://core.svn.wordpress.org/trunk@60808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…the page is set. Follow-up to [45766]. Props safedawn, OctoTooT, rollybueno, sabernhardt, SirLouen, dd32, SergeyBiryukov. Fixes #60750. Built from https://develop.svn.wordpress.org/trunk@61498 git-svn-id: http://core.svn.wordpress.org/trunk@60809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When no attributes are present, `wp_kses_hair()` should return an empty array, but when the refactor was merged, the code assumed there would be attributes. An alternative fix is to use null-coalescing to iterate over an empty array. This would produce a marginally smaller function and read slightly more cleanly, but there’s no need to enter the `foreach` loop when it’s known in advance that there’s nothing over which to iterate. Developed in: WordPress/wordpress-develop#10758 Discussed in: https://core.trac.wordpress.org/ticket/63724 Follow-up to [61467]. Props: dd32, dmsnell, jonsurrell. See: #63724. Built from https://develop.svn.wordpress.org/trunk@61499 git-svn-id: http://core.svn.wordpress.org/trunk@60810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ources. Follow-up to [49478], [49574]. Props sabernhardt. Fixes #64526. Built from https://develop.svn.wordpress.org/trunk@61500 git-svn-id: http://core.svn.wordpress.org/trunk@60811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…n `wp_image_add_srcset_and_sizes()`. Follow-up to [35412]. Props debarghyabanerjee, sabernhardt, shanemac10, leedxw, MadtownLems, enravo, djsuperfive, westonruter. See #34430. Fixes #60480. Built from https://develop.svn.wordpress.org/trunk@61501 git-svn-id: http://core.svn.wordpress.org/trunk@60812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…n is not preferred. Developed in WordPress/wordpress-develop#10762 Follow-up to [61491]. Props mukesh27, wildworks, solankisoftware, westonruter. See #64470. Fixes #64529. Built from https://develop.svn.wordpress.org/trunk@61502 git-svn-id: http://core.svn.wordpress.org/trunk@60813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When `wp_kses_hair()` calls into the HTML API to parse an attribute string, it checks if the result might be `null` and returns early, skipping a few minor operations. It could also skip when the returned attribute count is zero. This patch adds the additional check and early-return. Developed in: WordPress/wordpress-develop#10764 Discussed in: https://core.trac.wordpress.org/ticket/63724 Follow-up to [61499]. Props dd32, dmsnell, jonsurrell. See #63724. Built from https://develop.svn.wordpress.org/trunk@61503 git-svn-id: http://core.svn.wordpress.org/trunk@60814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The work in [61438] for Core-64393 removed the block parser classes from Core, which caused numerous scripts to fail because they were missing. Conditional checks were added in [61492] which left WordPress in an inoperable state. This patch restores the block parser in Core, in preparation for work to remove it from Gutenberg (in a separate patch). Ironically, the files were removed because the new build was copying them over from Gutenberg and the intent was to avoid having two sources of truth, but this was previously the existing mechanism, so having done nothing to the parser files would have left the status quo. This patch removes the problems originally created by removing the files. They will not be copied from Gutenberg any more and the only source of truth will be Core. Until removed from Gutenberg, because of the build changes, any changes made on the Gutenberg side will be lost unless manually copied over. Developed in: WordPress/wordpress-develop#10761 Discussed in: https://core.trac.wordpress.org/ticket/64521 Follow-up to [61438], [61492]. Props dmsnell, mcsf, mukesh27, youknowriad. Fixes #64521. Built from https://develop.svn.wordpress.org/trunk@61504 git-svn-id: http://core.svn.wordpress.org/trunk@60815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The parameter name is optional in PHPStan but not supported by Psalm. While neither tools are officially supported, this removes the parse error that Psalm users otherwise see. See php-stubs/wordpress-stubs#410 for some external discussion. Props farhad0, marian1 See #64224 Built from https://develop.svn.wordpress.org/trunk@61505 git-svn-id: http://core.svn.wordpress.org/trunk@60816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Replace `https.request()` with native `fetch()` in `log-results.js`. - Drop www. from host name used to avoid redirects. Props mcsf. Fixes #64534. Built from https://develop.svn.wordpress.org/trunk@61507 git-svn-id: http://core.svn.wordpress.org/trunk@60818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…e()`. Follow-up to [10204], [32652]. Props rejaulalomkhan, huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61508 git-svn-id: http://core.svn.wordpress.org/trunk@60819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The behavior of WP_Block_Processor::extract_full_block_and_advance() should produce an identical output to what parse_blocks() would return on the same substring of input. Unfortunately, when HTML spans followed inner blocks, they were being omitted in the output parse tree. This was due to an omission in the original code which would look for those blocks before advancing again after calling `extract_full_block_and_advance()` recursively. This patch adds the missing check and resolves the discrepancy. Developed in: WordPress/wordpress-develop#10769 Discussed in: https://core.trac.wordpress.org/ticket/64538 Follow-up to [60939]. Props dmsnell, jonsurrell, jorbin. Fixes #64537. Built from https://develop.svn.wordpress.org/trunk@61509 git-svn-id: http://core.svn.wordpress.org/trunk@60820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Changes the color on items added to menus in the Customizer from `#8c8f94` (a contrast ratio of 3.24:1) to `#646970` (a contrast ratio of 5.53:1). Props joedolson, sabernhardt, wilcosky, showravhasan, emptyopssphere, ozgursar. Fixes #64013. Built from https://develop.svn.wordpress.org/trunk@61511 git-svn-id: http://core.svn.wordpress.org/trunk@60822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [14760]. Props rejaulalomkhan, huzaifaalmesbah, westonruter, SergeyBiryukov. See #64224. Built from https://develop.svn.wordpress.org/trunk@61512 git-svn-id: http://core.svn.wordpress.org/trunk@60823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Adds styles for responsive grid layouts and fixes a block gap bug and a max column width bug. Props isabel_brison, aaronrobertshaw. Fixes #64532. Built from https://develop.svn.wordpress.org/trunk@61513 git-svn-id: http://core.svn.wordpress.org/trunk@60824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Webkit-based browsers add a cancel button to search inputs. This input uses the default cursor standard to buttons and inputs, but the WordPress admin applies the `pointer` cursor to buttons and inputs. Apply the WordPress standard pointer to this pseudoelement for UI consistency. Props sumitsingh, manhphucofficial, joedolson, sabernhardt, dhruvang21. Fixes #64382. Built from https://develop.svn.wordpress.org/trunk@61514 git-svn-id: http://core.svn.wordpress.org/trunk@60825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the autofocus script in Twenty Ten that forced a bypass of the navigation, main heading, and explanation on the 404 error page. Props sabernhardt, ravichudasama01, joedolson. Fixes #64064. Built from https://develop.svn.wordpress.org/trunk@61515 git-svn-id: http://core.svn.wordpress.org/trunk@60826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Checks that the value passed to add_declaration is a string to prevent fatal errors due to malformed block attributes. Props andrewserong. Fixes #64545. Built from https://develop.svn.wordpress.org/trunk@61516 git-svn-id: http://core.svn.wordpress.org/trunk@60827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… variables. Introduce the `wp-base-styles` stylesheet handle to provide admin color scheme CSS custom properties across WordPress. This stylesheet is added as a dependency for: - The `wp-admin` styles bundle - The block editor content iframe styles This is the Core-side implementation of the changes from Gutenberg PRs #69128 and #69130, which consolidate the admin color scheme CSS custom properties into a single reusable stylesheet instead of duplicating them across multiple packages. See #64308. Props fabiankaegy, wildworks. Built from https://develop.svn.wordpress.org/trunk@61517 git-svn-id: http://core.svn.wordpress.org/trunk@60828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The function is no longer used by WordPress and better alternatives are available: `wp_get_script_tag()` and `wp_get_inline_script_tag()`. Developed in WordPress/wordpress-develop#10742. Follow-up to [61415], [61485]. Props jonsurrell, westonruter. Fixes #64511. See #64442. Built from https://develop.svn.wordpress.org/trunk@61518 git-svn-id: http://core.svn.wordpress.org/trunk@60829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensure whitespace text nodes are correctly represented by `build_visual_html_tree()`. The `build_visual_html_tree()` function used by `assertEqualHTML()` would remove some leading whitespace from text nodes. Some whitespace-only text nodes were omitted from the tree. Developed in WordPress/wordpress-develop#10765. Follow-up to [60295]. Props jonsurrell, dmsnell, bernhard-reiter. Fixes #64531. Built from https://develop.svn.wordpress.org/trunk@61519 git-svn-id: http://core.svn.wordpress.org/trunk@60830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ore_upgrade()`. Developed in WordPress/wordpress-develop#10570 Follow-up to [61512], [32642], [32654]. Props rejaulalomkhan, westonruter, huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61520 git-svn-id: http://core.svn.wordpress.org/trunk@60831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#10569 Follow-up to [32642]. Props huzaifaalmesbah, westonruter, noruzzaman. See #64224. Built from https://develop.svn.wordpress.org/trunk@61521 git-svn-id: http://core.svn.wordpress.org/trunk@60832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…_response()`. Follow-up to [61508]. See #64224. Built from https://develop.svn.wordpress.org/trunk@61522 git-svn-id: http://core.svn.wordpress.org/trunk@60833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.