Skip to content

Commit a2f5632

Browse files
committed
rebuild block-editor JS bundle
1 parent 0e8e59f commit a2f5632

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

block-editor/build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '06987e04482cc6e64cb9');
1+
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '1a8c8bf5c8025528b9f9');

block-editor/build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integrations/themes/theme-alpha/functions.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,10 @@ function theme_alpha_fa_classes() {
9292
// add_filter('filesystem_method', function() {
9393
// return 'none';
9494
// });
95+
96+
add_filter( 'map_meta_cap', function( $caps, $cap, $user_id, $args ) {
97+
if ( 'unfiltered_html' === $cap ) {
98+
$caps = [ 'do_not_allow' ]; // deny this capability for everyone
99+
}
100+
return $caps;
101+
}, 10, 4 );

0 commit comments

Comments
 (0)