DEV: Fix toolbar API deprecation message (#26266)

This commit is contained in:
David Taylor 2024-03-20 17:48:29 +00:00 committed by GitHub
parent dd1a14ac6c
commit 3417d15730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -780,7 +780,7 @@ class PluginApi {
addToolbarPopupMenuOptionsCallback(opts) { addToolbarPopupMenuOptionsCallback(opts) {
deprecated( deprecated(
"`addToolbarPopupMenuOptionsCallback` has been renamed to `addToolbarPopupMenuOption`", "`addToolbarPopupMenuOptionsCallback` has been renamed to `addComposerToolbarPopupMenuOption`",
{ {
id: "discourse.add-toolbar-popup-menu-options-callback", id: "discourse.add-toolbar-popup-menu-options-callback",
since: "3.2", since: "3.2",