Open
Conversation
Adds a new template part for the Navigation block called WP_TEMPLATE_PART_AREA_NAVIGATION_OVERLAY, corresponding area definition in block-template-utils.php to support navigation overlay template parts. Also adds the navigation block pattern category registration in block-patterns.php and five new navigation overlay block patterns. Reviewed by mikachan, get_dave. Props onemaggie, scruffian, get_dave, mikachan, wildworks. Fixes #64589. Built from https://develop.svn.wordpress.org/trunk@61609 git-svn-id: http://core.svn.wordpress.org/trunk@60920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Accessibility: to meet WCAG 2.2/3.3.7: Redundant entry, the username should be auto-populated when a user performs a password reset. There is an existing cookie set that contains this information, but was deleted before displaying the login form. Move cookie deletion to occur after displaying login form and use to set `$user_login`. Props estelaris, alh0319, sabernhardt, oglekler, peterwilsoncc, rcreators, rishavdutta, chaion07, stoyangeorgiev, rinkalpagdar, pratiklondhe, lukasfritzedev, ferdoused, audrasjb, westonruter, joedolson. Fixes #60726. Built from https://develop.svn.wordpress.org/trunk@61610 git-svn-id: http://core.svn.wordpress.org/trunk@60921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…CodeMirror. Esprima is no longer maintained, and it does not support the latest JavaScript features in ES11, as Espree does. - **New Linter Integration:** Introduces `src/js/_enqueues/vendor/codemirror/javascript-lint.js` using `espree` for parsing and error reporting, replacing the dependency on `jshint` and `esprima` scripts. - **Script Modules:** Registers `espree` as a script module and leverages the `module_dependencies` argument in `wp_register_script()` to ensure `espree` is available as a dynamic import. - **Editor Settings:** Updates `wp_get_code_editor_settings()` to use ES11 (ECMAScript 2020) defaults and synchronizes JSHint settings from `.jshintrc` for compatibility. - **Editable Extensions:** Adds `.mjs` to the list of editable file extensions for plugins and themes. - **Deprecations:** Marks `esprima` and `jshint` script handles as deprecated. - **Build Tools:** Updates Webpack configuration to bundle `espree` as a module and use the new local `javascript-lint.js`. Developed in WordPress/wordpress-develop#10806 Follow-up to [61587], [61544], [61539], [42547]. Props westonruter, jonsurrell. See #64562, #61500, #48456, #42850. Fixes #64558. Built from https://develop.svn.wordpress.org/trunk@61611 git-svn-id: http://core.svn.wordpress.org/trunk@60922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#9260 Props rollybueno, westonruter, swissspidy, peterwilsoncc, szepeviktor, ozgursar, oglekler, johnbillion, ugyensupport, abcd95, shailu25, noruzzaman. Fixes #63697. Built from https://develop.svn.wordpress.org/trunk@61612 git-svn-id: http://core.svn.wordpress.org/trunk@60923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset removes the "Plugin and Theme Directories cannot be accessed within Playground" bullet point from the Playground Pull Request Comment GitHub Action, as it is not the case anymore. Props audrasjb, westonruter. Fixes #64578. Built from https://develop.svn.wordpress.org/trunk@61613 git-svn-id: http://core.svn.wordpress.org/trunk@60924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This changeset does the following changes: - Add an ID to each accordion button - Update the URL hash each time an accordion button is clicked - On page load, open the related accordion when provided This way, people can use the URL of the page to share a direct link to the site health info section they want. Props sippis, kabir93, audrasjb, saratheonline, pratiklondhe, vgnavada, SirLouen, nikunj8866, pmbaldha, sajjad67, huzaifaalmesbah, westonruter. Fixes #62846. Built from https://develop.svn.wordpress.org/trunk@61614 git-svn-id: http://core.svn.wordpress.org/trunk@60925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…eparedSQL`. The `WordPress.DB.PreparedSQL` sniff contains two different error messages, which initially shared the same error code. A unique error code for the second message was added in WPCS 2.0.0. Reference: [WordPress/WordPress-Coding-Standards#1601 PreparedSQL: use unique errorcode for messages]. Follow-up to [43628], [43630], [43654], [44472]. Props rodrigosprimo. See #64627. Built from https://develop.svn.wordpress.org/trunk@61615 git-svn-id: http://core.svn.wordpress.org/trunk@60926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The controls to set and remove a featured image in the Classic Editor use a link with no attributes to identify purpose. Triggering a modal dialog should be done using a button with proper identification. Add `role="button"`, `aria-haspopup="dialog"`, and `aria-controls` attributes to give users appropriate information about the control behavior. Add keypress handlers for button-specific keyboard events. Does not use a `button` element to avoid interfering with style customizations. Props alh0319, joedolson, mukesh27, huzaifaalmesbah. Fixes #63980. Built from https://develop.svn.wordpress.org/trunk@61616 git-svn-id: http://core.svn.wordpress.org/trunk@60927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Modifies the `resolve_pattern_blocks` function to include metadata for single-root patterns, allowing the pattern `name`, `description`, categories` metadata to be stored in the block attributes. This enables identification of patterns within templates in the block editor for the purposes of the pattern editing functionality. Props ramonopoly, andrewserong, talldanwp, westonruter, scruffian, huzaifaalmesbah, audrasjb. Fixes #64123. Built from https://develop.svn.wordpress.org/trunk@61617 git-svn-id: http://core.svn.wordpress.org/trunk@60928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…SES filters are active Extends `VALID_SETTINGS` entries to also do type validation (as well as schema key validation) for the lightbox settings only. Previously, when KSES filters were active (via `add_action( 'init', 'kses_init_filters' )`), valid non-preset settings in Global Styles were being incorrectly filtered out. For example, `lightbox.enabled` and `lightbox.allowEditing` for Image blocks. The idea is that `VALID_SETTINGS` values can act as type validation for further valid settings. Props ramonopoly, mmtr86, oandregal, wildworks, westonruter, andrewserong. Fixes #64280. Built from https://develop.svn.wordpress.org/trunk@61618 git-svn-id: http://core.svn.wordpress.org/trunk@60929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This PR introduces `dimensions.width` to the list of available block supports. This block support enables, in the future, the removal of the custom width and height controls in blocks such as Button, Column and many others in favor of customizations via block supports. Props aaronrobertshaw, andrewserong, ramonopoly, welcher, mamaduka, wildworks, youknowriad, isabel_brison. Fixes #64200. Built from https://develop.svn.wordpress.org/trunk@61619 git-svn-id: http://core.svn.wordpress.org/trunk@60930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This PR introduces `dimensions.height` to the list of available block supports. This block support enables, in the future, the removal of the custom height controls in blocks such as Image, Spacer and others in favor of customizations via block supports. Props aaronrobertshaw, andrewserong, ramonopoly, welcher, wildworks, youknowriad. Fixes #64202. Built from https://develop.svn.wordpress.org/trunk@61620 git-svn-id: http://core.svn.wordpress.org/trunk@60931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ity of conditional in `WP_Theme_JSON::get_styles_for_block()`. Developed in WordPress/wordpress-develop#10902 Follow-up to [61607]. Props soean, westonruter, sergeybiryukov, mukesh27. See #63430, #64263. Built from https://develop.svn.wordpress.org/trunk@61621 git-svn-id: http://core.svn.wordpress.org/trunk@60932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props dd32, mikachan, peterwilsoncc, wildworks. Fixes #64564. Built from https://develop.svn.wordpress.org/trunk@61622 git-svn-id: http://core.svn.wordpress.org/trunk@60933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
template part areas. Updates the Navigation Overlay template part area in get_allowed_block_template_part_areas() to use the dedicated navigation-overlay icon, replacing the overlay placeholder value. The icon has been updated in @wordpress/icons and will be synced to Core with the final Gutenberg release. Props mikachan, get_dave. Fixes #64629. Built from https://develop.svn.wordpress.org/trunk@61623 git-svn-id: http://core.svn.wordpress.org/trunk@60934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Replace `( $fn )( ...$args )` syntax with equivalent `call_user_func( $fn, ...$args )` to prevent an issue with the WordPress documentation parser. The parser would fail when encountering this syntax, preventing documentation generation. Developed in WordPress/wordpress-develop#10907. Follow-up to [58304]. Props dmsnell, jonsurrell. See #64224, #61348. Built from https://develop.svn.wordpress.org/trunk@61624 git-svn-id: http://core.svn.wordpress.org/trunk@60935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add the theme keyboard navigation test file that omitted from [60516]. Follow-up to [60516]. Props abcd95, jonsurrell, mukesh27. See #64225, #63126. Built from https://develop.svn.wordpress.org/trunk@61625 git-svn-id: http://core.svn.wordpress.org/trunk@60936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Tabindex should be set on a tabpanel if there is content in that tabpanel that is not focusable. The media library uses tabpanels, but the first content is either focusable or redundant. Change the media library tabpanels to omit tabindex attributes. Props alh0319, joedolson, westonruter, huzaifaalmesbah. Fixes #63984. Built from https://develop.svn.wordpress.org/trunk@61626 git-svn-id: http://core.svn.wordpress.org/trunk@60937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [41376], [41260]. Props mayur8991, sabernhardt, westonruter. Fixes #64632. Built from https://develop.svn.wordpress.org/trunk@61627 git-svn-id: http://core.svn.wordpress.org/trunk@60938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%. Remove IE-specific CSS and polyfills. Props sabernhardt, westonruter, mukesh27, joedolson. Fixes #64590. Built from https://develop.svn.wordpress.org/trunk@61628 git-svn-id: http://core.svn.wordpress.org/trunk@60939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…hitespace in QUnit test. Follow-up to [61625], [60516]. See #63126. Built from https://develop.svn.wordpress.org/trunk@61629 git-svn-id: http://core.svn.wordpress.org/trunk@60940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
References: * [WordPress/WordPress-Coding-Standards#1580 WPCS: Deprecate use of the WPCS native whitelist comments] * [WordPress/WordPress-Coding-Standards#1908 WPCS: 3.0: Remove deprecated Sniff::has_whitelist_comment() method and all references to it] Follow-up to [43808]. Props rodrigosprimo, mukesh27. See #64627. Built from https://develop.svn.wordpress.org/trunk@61630 git-svn-id: http://core.svn.wordpress.org/trunk@60941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit enables dimension size presets to theme.json for block supports such as width, height and min-height. This opens up the ability to leverage a defined set of preset values for dimensions block supports, alleviating the need for users to know and manually set the same value across multiple blocks. Props aaronrobertshaw, ramonopoly, andrewserong. Fixes #64413. Built from https://develop.svn.wordpress.org/trunk@61631 git-svn-id: http://core.svn.wordpress.org/trunk@60942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit adds CSS text-indent support for paragraph blocks with traditional typography conventions - subsequent paragraphs get first-line indented in LTR languages, with an option to indent all paragraphs (default for RTL languages). Text indentation is a fundamental typography feature. Traditional print typography conventions dictate that only subsequent paragraphs (not the first) should have their first line indented in LTR languages, while RTL languages typically indent all paragraphs. This feature enables proper typographic styling that matches publishing standards. Props aaronrobertshaw, ramonopoly, andrewserong, wildworks, matveb, skorasaurus, greenshady, kjellr. Fixes #64326. Built from https://develop.svn.wordpress.org/trunk@61632 git-svn-id: http://core.svn.wordpress.org/trunk@60943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… user. Prevent `wp_set_current_user()` from reinstantiating the current user when the user ID is passed as a string, eg `wp_set_current_user( (string) get_current_user_id() )`. This restores the function's previous behaviour of returning early in the event the IDs loosely match. Follow up to r57882. Props westonruter, peterwilsoncc. Fixes #64628. Built from https://develop.svn.wordpress.org/trunk@61633 git-svn-id: http://core.svn.wordpress.org/trunk@60944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Updates Site Editor URLs from legacy query parameters to the new path-based p parameter format. Props jabir20, phpbits, sainathpoojary, SirLouen, westonruter, wildworks. Fixes #63110. Built from https://develop.svn.wordpress.org/trunk@61634 git-svn-id: http://core.svn.wordpress.org/trunk@60945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%. Follow up to [61628] to also remove JS that fixed skip link behavior for IE. Also remove overlooked contents of `ie-editor.css.map`. Props sabernhardt, westonruter, joedolson. Fixes #64590. Built from https://develop.svn.wordpress.org/trunk@61635 git-svn-id: http://core.svn.wordpress.org/trunk@60946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
`word-break: normal !important;` was added to Twenty Twenty in [46701], but the change missed getting propagated to all uses of the screen-reader-text class at that time. Add `word-break` reset to `.screen-reader-text` to ensure screen readers won't read text as individual letters in hidden text. Props peterwilsoncc, manhphucofficial, palak678, sabernhardt, mukesh27, joedolson. Fixes #64375. Built from https://develop.svn.wordpress.org/trunk@61636 git-svn-id: http://core.svn.wordpress.org/trunk@60947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… where possible. Developed in WordPress/wordpress-develop#10911 Follow-up to [61621], [61464]. Props soean, westonruter. See #63430. Built from https://develop.svn.wordpress.org/trunk@61637 git-svn-id: http://core.svn.wordpress.org/trunk@60948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#10864 Follow-up to [61604], [61592]. Props noruzzaman, huzaifaalmesbah, shailu25, sabernhardt, westonruter. See #64224. Built from https://develop.svn.wordpress.org/trunk@61638 git-svn-id: http://core.svn.wordpress.org/trunk@60949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…skips the current user. This changeset clarifies the error message displayed when the current user tries to change their role to one that does not allow managing other users. Props dpknauss, audrasjb, huzaifaalmesbah, noruzzaman, r1k0. Fixes #64690. Built from https://develop.svn.wordpress.org/trunk@61854 git-svn-id: http://core.svn.wordpress.org/trunk@61141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The capital Eszett was standardized in German orthography in 2017, DIN 5008, but WordPress has only been transforming the lowercase version. This patch adds the uppercase variant to the list and transforms it to “SS” for more-appriate slug and permalink generation. Developed in: WordPress/wordpress-develop#11188 Discussed in: https://core.trac.wordpress.org/ticket/64821 Props apermo, dmsnell. Fixes #64821. Built from https://develop.svn.wordpress.org/trunk@61855 git-svn-id: http://core.svn.wordpress.org/trunk@61142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…eme. This updates `WP_REST_Themes_Controller::get_items()` to shortcut returning the current theme when the request explicitly queries for the active theme, avoiding expensive call to `wp_get_themes()`. Developed in WordPress/wordpress-develop#11032 Follow up to r49925. Props aduth, mukesh27, westonruter. See #50152. Fixes #64719. Built from https://develop.svn.wordpress.org/trunk@61856 git-svn-id: http://core.svn.wordpress.org/trunk@61143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
`wp_normalize_path()` is called thousands of times on a given request. This patch adds memoization via a function-local static variable. This reduces the call count to the underlying `wp_is_stream()` function, and measured in testing around a 66% cache hit rate. In testing, for a site making 4000 calls to `wp_normalize_path()`, this patch led to a reduction in runtime from 1.4 ms to 0.4 ms on the test computer. While small, this time occurs early in the hotpath of the loading WordPress. Developed in: WordPress/wordpress-develop#10770 Discussed in: https://core.trac.wordpress.org/ticket/64538 Props dmsnell, josephscott, mreishus, westonruter. Fixes #64538. Built from https://develop.svn.wordpress.org/trunk@61857 git-svn-id: http://core.svn.wordpress.org/trunk@61144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Change the border color on active filter tab links to use the admin theme color. Props hbhalodia, mukesh27, huzaifaalmesbah, noruzzaman, shailu25, joedolson. Fixes #64807. Built from https://develop.svn.wordpress.org/trunk@61858 git-svn-id: http://core.svn.wordpress.org/trunk@61145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
….php`. This avoids a `variable.undefined` warning at PHPStan level 3. Follow-up to [48958]. Props huzaifaalmesbah, westonruter, SergeyBiryukov. See #64238. Built from https://develop.svn.wordpress.org/trunk@61859 git-svn-id: http://core.svn.wordpress.org/trunk@61146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove color overrides in customizer CSS that are already set in admin theme colors. Set colors to admin theme colors where currently hard coded. Props madhavishah01, noruzzaman, shailu25, joedolson. Fixes #64731. Built from https://develop.svn.wordpress.org/trunk@61860 git-svn-id: http://core.svn.wordpress.org/trunk@61147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the 50% opacity change for when the adminbar comment indicators has zero comments. Props louischan, hbhalodia, sabernhardt, joedolson. Fixes #64811. Built from https://develop.svn.wordpress.org/trunk@61861 git-svn-id: http://core.svn.wordpress.org/trunk@61148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Set the generated content in the gallery selection strip to `content: none;` to remove the generated overlay. Follow up to [61757]. Props wildworks, hbhalodia, divyeshpatel01, huzaifaalmesbah, apermo, joedolson. Fixes #64820. Built from https://develop.svn.wordpress.org/trunk@61862 git-svn-id: http://core.svn.wordpress.org/trunk@61149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The option to enable real-time collaboration was first added in [61689] as `enable_real_time_collaboration` with a value of `1` and the `$db_version` was bumped in [61696]. The option then went through a series of changes. This included: the default value changing to `0` in [61702], being renamed to `wp_enable_real_time_collaboration` in [61722], removed entirely in [61828], and finally being re-added as `wp_enable_real_time_collaboration` in [61862]. Because the `$db_version` was not bumped after these changes, it’s possible that the `wp_enable_real_time_collaboration` option is not present on any site that ran the nightly build generated between [61696] and [61702], or a nightly build/beta release published after [61828]. Since `populate_options()` runs when a new site is installed, this issue only affects pre-existing sites that had upgradd their database when `wp_enable_real_time_collaboration` was not specified as a default option within `$defaults`. This bumps the database version to `61833`, which is the most recent changeset to have modified the `$defaults` array in `populate_options()`. Props dlh, maxschmeling, smithjw1, kbat82. See #64824, #64622. Built from https://develop.svn.wordpress.org/trunk@61864 git-svn-id: http://core.svn.wordpress.org/trunk@61151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…API sync route. Follow-up to [61689], [61702], [61722], [61828], [61862], [61864]. Props mindctrl, skithund, amykamala, MadtownLems, aion11, peterwilsoncc, pbiron, apermo, SergeyBiryukov. Fixes #64814. Built from https://develop.svn.wordpress.org/trunk@61865 git-svn-id: http://core.svn.wordpress.org/trunk@61152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Though `add_action()` and `add_filter()` are functionally equivalent internally, for proper semantics the former should be used on actions and the latter on filters. Follow-up to [37920], [38046], [53266]. Props apermo. Fixes #64828. Built from https://develop.svn.wordpress.org/trunk@61866 git-svn-id: http://core.svn.wordpress.org/trunk@61153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The `theme.json` file `$schema` URL is relative in the `gutenberg` repository upstream. The URL is not currently being replaced with an aboslute one pointing to w.org due to a missing `transform: true` configuration. Follow up to [61438], [61439], [61458], [61492], [61677]. See #64393. Built from https://develop.svn.wordpress.org/trunk@61867 git-svn-id: http://core.svn.wordpress.org/trunk@61154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned hash from the `gutenberg` from `f4d8a5803aa2fbe26e7d9af4d17e80a622b7bab8` to `7b7fa2bc97a8029a302bd6511cf0d206b5953172`. The following changes are included: - Sort registry files by handle/ID. (WordPress/gutenberg#75755) - Obey undoIgnore flag in editEntityRecord (WordPress/gutenberg#76206) - RTC: Fix `post-editor-template-mode` E2E test (WordPress/gutenberg#76209) - Publish built Gutenberg plugin to the GitHub Container Registry (WordPress/gutenberg#75844) (WordPress/gutenberg#76273) - Connectors: Improve placeholder text and make it translatable (WordPress/gutenberg#75996) - Block context menu: context menu not closing for disconnecting unsynced pattern menu items (WordPress/gutenberg#75405) - Connectors: Improve responsive layout for small viewports (WordPress/gutenberg#76231) - theme.json schema: fix pseudo-class definition for button block (WordPress/gutenberg#76272) - Navigation block: fix submenu chevron toggle on touch devices (WordPress/gutenberg#76197) See #64595, #64393. Built from https://develop.svn.wordpress.org/trunk@61868 git-svn-id: http://core.svn.wordpress.org/trunk@61155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props r1k0, mukesh27, manishxdp. Fixes #64829. Built from https://develop.svn.wordpress.org/trunk@61869 git-svn-id: http://core.svn.wordpress.org/trunk@61156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned hash from the `gutenberg` from `7b7fa2bc97a8029a302bd6511cf0d206b5953172` to `9b8144036fa5faf75de43d4502ff9809fcf689ad`. The following changes are included: - Use V2 Yjs methods for HTTP Polling (WordPress/gutenberg#76304) - Plugin: Include Icons assets in ZIP (WordPress/gutenberg#75866) - Ensure consistent, repeatable build results when inlining WASM files via `wasmInlinePlugin` (WordPress/gutenberg#76113) - Account `IS_WORDPRESS_CORE` is set. (WordPress/gutenberg#76334) - Block Visibility: Add `fetchpriority=auto` to `IMG` tags in blocks with conditional viewport visibility to prevent potential erroneous high loading priority (WordPress/gutenberg#76302) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/7b7fa2bc97a8029a302bd6511cf0d206b5953172…9b8144036fa5faf75de43d4502ff9809fcf689ad. See #64595, #64393. Built from https://develop.svn.wordpress.org/trunk@61870 git-svn-id: http://core.svn.wordpress.org/trunk@61157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This iterates on the changes from [61438] by removing the need to: - Check out the WordPress/gutenberg repository at the pinned hash. - Run `npm install` within that checkout. - Run `npm build` within that checkout. Instead, the build script will now download a prebuilt zip file published to the GitHub Container Registry by a GitHub Actions workflow recently merged to the Gutenberg Repository (related PR: WordPress/gutenberg#75844). This also removes redundant code responsible for: - Copying files from the `gutenberg` directory to the appropriate locations during the build script in favor of using `grunt copy`. - Modifying built files to replace specific text, such as `sourceMappingURL`, in favor of `grunt replace`. The remaining files within the `tools/gutenberg` directory have been renamed to remove `gutenberg` from the file names. Since these are already nested in a `gutenberg` directory, that was redundant. Since the intention of the pinned value for the repository in the `package.json` file is to specify a full-length commit hash, `ref` has been renamed to `sha`. In Git `ref` encompasses branches, tags, and commit hashes, so this hopefully makes it more clear that something like `branch-name` should not be used. Follow up to [61438], [61439], [61458], [61492], [61677], [61867]. Props desrosj, dmsnell, westonruter, mcsf, jorbin. See #64393. Built from https://develop.svn.wordpress.org/trunk@61873 git-svn-id: http://core.svn.wordpress.org/trunk@61159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit adjusts cross-reference comments where the hook was moved to a different file but the cross-reference was not updated. Props apermo, mukesh27. See #64224. Built from https://develop.svn.wordpress.org/trunk@61878 git-svn-id: http://core.svn.wordpress.org/trunk@61160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props xknown, johnbillion, peterwilsoncc. Built from https://develop.svn.wordpress.org/trunk@61879 git-svn-id: http://core.svn.wordpress.org/trunk@61161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…d and add some extra logic for validating pattern and template file paths. Props dmsnell, xknown, jonsurrell, peterwilsoncc, johnbillion. Built from https://develop.svn.wordpress.org/trunk@61880 git-svn-id: http://core.svn.wordpress.org/trunk@61162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This corrects the accidental revert of [61879] in [61880]. Built from https://develop.svn.wordpress.org/trunk@61881 git-svn-id: http://core.svn.wordpress.org/trunk@61163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props dmsnell, xknown, johnbillion. Built from https://develop.svn.wordpress.org/trunk@61882 git-svn-id: http://core.svn.wordpress.org/trunk@61164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Some attributes require double encoding, which is disallowed by `esc_attr()`. Props westonruter, dmsnell, johnbillion. Built from https://develop.svn.wordpress.org/trunk@61883 git-svn-id: http://core.svn.wordpress.org/trunk@61165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…showing a link to it in the media manager. Props johnbillion, peterwilsoncc. Built from https://develop.svn.wordpress.org/trunk@61884 git-svn-id: http://core.svn.wordpress.org/trunk@61166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…onding `data-wp-on--` attribute should be used instead. Props luisherranz, peterwilsoncc, johnbillion, ocean90, jorbin, xknown. Built from https://develop.svn.wordpress.org/trunk@61885 git-svn-id: http://core.svn.wordpress.org/trunk@61167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…hey're correctly associated with a script tag. Props johnbillion, peterwilsoncc, jorbin. Built from https://develop.svn.wordpress.org/trunk@61886 git-svn-id: http://core.svn.wordpress.org/trunk@61168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…n using the PclZip library. This brings the handling inline with the same guard condition in `_unzip_file_ziparchive()` with ZipArchive. Props johnbillion, peterwilsoncc, xknown. Built from https://develop.svn.wordpress.org/trunk@61887 git-svn-id: http://core.svn.wordpress.org/trunk@61169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…target post. Props johnbillion, peterwilsoncc, adamsilverstein. Built from https://develop.svn.wordpress.org/trunk@61888 git-svn-id: http://core.svn.wordpress.org/trunk@61170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props johnbillion, xknown, dmsnell, jorbin. Built from https://develop.svn.wordpress.org/trunk@61889 git-svn-id: http://core.svn.wordpress.org/trunk@61171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ames in nav menus. This should have been committed in [61883] but got missed. Built from https://develop.svn.wordpress.org/trunk@61890 git-svn-id: http://core.svn.wordpress.org/trunk@61172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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
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.