Skip to content

A platform for community discussion. Free, open, simple.

fixed a small typo in the function's doc comment (#7965)

Faizaan Gagan387016ea9b12
diff --git a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 b/app/assets/javascripts/discourse/lib/plugin-api.js.es6
index 991bf3ea298..f731ef97ca1 100644
--- a/app/assets/javascripts/discourse/lib/plugin-api.js.es6
+++ b/app/assets/javascripts/discourse/lib/plugin-api.js.es6
@@ -529,7 +529,7 @@ class PluginApi {
/**
* Exposes the widget creating ability to plugins. Plugins can
- * register their own plugins and attach them with decorators.
+ * register their own widgets and attach them with decorators.
* See `createWidget` in `discourse/widgets/widget` for more info.
**/
createWidget(name, args) {