Skip to content

Commit 011465c

Browse files
author
Ahmad Awais
authored
FIX: Typo - PR: Merge pull request #1 from truongwp/fix-typos
Fix typo errors in comments
2 parents a3884a7 + 79fb5dc commit 011465c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žblock/03-block-editable/block.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
var __ = wp.i18n.__; // The __() for internationalization.
1414
var el = wp.element.createElement; // The wp.element.createElement() function to create elements.
1515
var Editable = wp.blocks.Editable; // Editable component of React.
16-
var children = wp.blocks.query.children; // The childern() function to extract child nodes from a paragraph of rich text.
16+
var children = wp.blocks.query.children; // The children() function to extract child nodes from a paragraph of rich text.
1717
var registerBlockType = wp.blocks.registerBlockType; // The registerBlockType() to register blocks.
1818

1919
/**

β€Žblock/04-tweet/block.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
var __ = wp.i18n.__; // The __() for internationalization.
1515
var el = wp.element.createElement; // The wp.element.createElement() function to create elements.
1616
var Editable = wp.blocks.Editable; // Editable component of React.
17-
var children = wp.blocks.query.children; // The childern() function to extract child nodes from a paragraph of rich text.
17+
var children = wp.blocks.query.children; // The children() function to extract child nodes from a paragraph of rich text.
1818
var registerBlockType = wp.blocks.registerBlockType; // The registerBlockType() to register blocks.
1919

2020
/**

0 commit comments

Comments
Β (0)