Skip to content

Commit

Permalink
Block Library: Use more clear and inclusive language in comments (#42155
Browse files Browse the repository at this point in the history
)

* Block Library: Use more clear and inclusive language in comments
* Use 'added' instead of 'allowed'
  • Loading branch information
Mamaduka authored Jul 5, 2022
1 parent 64a42a2 commit ae39ddc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation-link/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const settings = {
transforms,
};

// importing this file includes side effects. This is whitelisted in block-library/package.json under sideEffects
// importing this file includes side effects. This is added in block-library/package.json under sideEffects
addFilter(
'blocks.registerBlockType',
'core/navigation-link',
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/post-terms/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const settings = {
edit,
};

// Importing this file includes side effects. This is whitelisted in block-library/package.json under sideEffects
// Importing this file includes side effects. This is added in block-library/package.json under sideEffects
addFilter(
'blocks.registerBlockType',
'core/template-part',
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/query/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export const settings = {
deprecated,
};

// Importing this file includes side effects and is whitelisted
// Importing this file includes side effects and is added
// in block-library/package.json under `sideEffects`.
addFilter( 'editor.BlockEdit', 'core/query', queryInspectorControls );
2 changes: 1 addition & 1 deletion packages/block-library/src/template-part/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const settings = {
edit,
};

// Importing this file includes side effects. This is whitelisted in block-library/package.json under sideEffects
// Importing this file includes side effects. This is added in block-library/package.json under sideEffects
addFilter(
'blocks.registerBlockType',
'core/template-part',
Expand Down

0 comments on commit ae39ddc

Please sign in to comment.