Repository navigation
Commit 76f9763
committed
Editor: Restore Classic block in the inserter.
Revert the Classic block inserter-hiding work introduced in [62546], so the
Classic (`core/freeform`) block is once again available in the inserter by
default.
This removes:
* The `wp_declare_classic_block_necessary()` function and its
`enqueue_block_editor_assets` action hook in `script-loader.php` and
`default-filters.php`.
* The `wp_classic_block_supports_inserter` filter, which never shipped in a
WordPress release and can therefore be removed cleanly.
* The associated PHPUnit tests in `tests/phpunit/tests/dependencies/scripts.php`.
This keeps Core in sync with the corresponding Gutenberg revert in
WordPress/gutenberg#79894.
Props tyxla, youknowriad, mukesh27.
See #65166.
git-svn-id: https://develop.svn.wordpress.org/trunk@62652 602fd350-edb4-49c9-b593-d223f7449a821 parent c236f38 commit 76f9763
3 files changed
Lines changed: 0 additions & 100 deletions
File tree
- src/wp-includes
- tests/phpunit/tests/dependencies
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
648 | 647 | | |
649 | 648 | | |
650 | 649 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2646 | 2646 | | |
2647 | 2647 | | |
2648 | 2648 | | |
2649 | | - | |
2650 | | - | |
2651 | | - | |
2652 | | - | |
2653 | | - | |
2654 | | - | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
2658 | | - | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
2662 | | - | |
2663 | | - | |
2664 | | - | |
2665 | | - | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
2669 | | - | |
2670 | | - | |
2671 | | - | |
2672 | | - | |
2673 | | - | |
2674 | | - | |
2675 | 2649 | | |
2676 | 2650 | | |
2677 | 2651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4542 | 4542 | | |
4543 | 4543 | | |
4544 | 4544 | | |
4545 | | - | |
4546 | | - | |
4547 | | - | |
4548 | | - | |
4549 | | - | |
4550 | | - | |
4551 | | - | |
4552 | | - | |
4553 | | - | |
4554 | | - | |
4555 | | - | |
4556 | | - | |
4557 | | - | |
4558 | | - | |
4559 | | - | |
4560 | | - | |
4561 | | - | |
4562 | | - | |
4563 | | - | |
4564 | | - | |
4565 | | - | |
4566 | | - | |
4567 | | - | |
4568 | | - | |
4569 | | - | |
4570 | | - | |
4571 | | - | |
4572 | | - | |
4573 | | - | |
4574 | | - | |
4575 | | - | |
4576 | | - | |
4577 | | - | |
4578 | | - | |
4579 | | - | |
4580 | | - | |
4581 | | - | |
4582 | | - | |
4583 | | - | |
4584 | | - | |
4585 | | - | |
4586 | | - | |
4587 | | - | |
4588 | | - | |
4589 | | - | |
4590 | | - | |
4591 | | - | |
4592 | | - | |
4593 | | - | |
4594 | | - | |
4595 | | - | |
4596 | | - | |
4597 | | - | |
4598 | | - | |
4599 | | - | |
4600 | | - | |
4601 | | - | |
4602 | | - | |
4603 | | - | |
4604 | | - | |
4605 | | - | |
4606 | | - | |
4607 | | - | |
4608 | | - | |
4609 | | - | |
4610 | | - | |
4611 | | - | |
4612 | | - | |
4613 | | - | |
4614 | | - | |
4615 | | - | |
4616 | | - | |
4617 | | - | |
4618 | 4545 | | |
4619 | 4546 | | |
4620 | 4547 | | |
| |||
0 commit comments