Skip to content

Commit

Permalink
removes some development artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Jun 6, 2022
1 parent 7aa2397 commit 0067052
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/compat/wordpress-6.1/get-global-styles-and-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ function wp_add_global_styles_for_blocks() {
$block_nodes = $tree->get_styles_block_nodes();

foreach ( $block_nodes as $metadata ) {
if ( empty( $metadata['name'] ) ) {
continue;
}
$block_css = $tree->get_styles_for_block( $metadata );
$block_name = str_replace( 'core/', '', $metadata['name'] );
// These block styles are added on block_render.
Expand Down
3 changes: 0 additions & 3 deletions packages/block-editor/src/hooks/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,6 @@ const getLinkColorFromAttributeValue = ( colors, value ) => {
export function ColorEdit( props ) {
const { name: blockName, attributes } = props;

if ( blockName === 'core/paragraph' ) {
// debugger;
}
// Some color settings have a special handling for deprecated flags in `useSetting`,
// so we can't unwrap them by doing const { ... } = useSetting('color')
// until https://github.com/WordPress/gutenberg/issues/37094 is fixed.
Expand Down

0 comments on commit 0067052

Please sign in to comment.