Skip to content

Commit

Permalink
Editor: Partial revert of r55230.
Browse files Browse the repository at this point in the history
[55230] introduced a regression to the content markup. This changeset is a partial revert to remove the added `wp-includes/block-supports/anchor.php` file. 

The change of adding `'id'` to `$attributes_to_merge` in `get_block_wrapper_attributes()` is not reverted as this change did not impact the regression and helps to support continue development in Gutenberg for the anchor support in dynamic blocks feature.

Reference:
* [WordPress/gutenberg#48592 Gutenberg PR 48592].

Follow-up [55230].

Props wildworks, mamaduka, hellofromTonya. 
Fixes #57830.
See #56852.

git-svn-id: https://develop.svn.wordpress.org/trunk@55443 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
hellofromtonya committed Mar 1, 2023
1 parent b12e340 commit 33de1d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 74 deletions.
73 changes: 0 additions & 73 deletions src/wp-includes/block-supports/anchor.php

This file was deleted.

1 change: 0 additions & 1 deletion src/wp-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@
require ABSPATH . WPINC . '/class-wp-block-supports.php';
require ABSPATH . WPINC . '/block-supports/utils.php';
require ABSPATH . WPINC . '/block-supports/align.php';
require ABSPATH . WPINC . '/block-supports/anchor.php';
require ABSPATH . WPINC . '/block-supports/border.php';
require ABSPATH . WPINC . '/block-supports/colors.php';
require ABSPATH . WPINC . '/block-supports/custom-classname.php';
Expand Down

0 comments on commit 33de1d7

Please sign in to comment.