Skip to content

Commit

Permalink
HTML API: Move into 6.2 Compat Folder since inclusion in Core (#47749)
Browse files Browse the repository at this point in the history
* HTML API: Move into 6.2 Compat Folder since inclusion in Core

Since the merge of the Tag Processor into Core in [55203][55203]
it's no longer needed in Gutenberg in the experimental directory.
In this patch we're moving a version of the Tag Processor which
was updated during the Core merge into the `lib/compat` directory
so that we can continue to provide it where necessary while
avoiding conflicts that might otherwise arise by leaving it
where it was.

[55203]: https://core.trac.wordpress.org/changeset/55203

* Trying to relax a PHP linting rule

`WordPress.WP.I18n.MissingArgDomainDefault` should not trigger for code that polyfills features present in WordPress core.

---------

Co-authored-by: Greg Ziółkowski <[email protected]>
  • Loading branch information
dmsnell and gziolo authored Feb 7, 2023
1 parent f6cfe79 commit e7f096e
Show file tree
Hide file tree
Showing 9 changed files with 579 additions and 2,658 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* HTML Tag Processor: Attribute token structure class.
*
* @package WordPress
* @subpackage HTML
* @subpackage HTML-API
* @since 6.2.0
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* HTML Span: Represents a textual span inside an HTML document.
*
* @package WordPress
* @subpackage HTML
* @subpackage HTML-API
* @since 6.2.0
*/

Expand Down
Loading

1 comment on commit e7f096e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in e7f096e.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4112428024
📝 Reported issues:

Please sign in to comment.