diff --git a/action.php b/action.php index 96de36e..a97fc81 100644 --- a/action.php +++ b/action.php @@ -1,6 +1,6 @@ @@ -31,7 +31,7 @@ class action_plugin_childrenpages extends DokuWiki_Action_Plugin { public function addMenuItems(Doku_Event $event) : void { // Check that this method has been called in the expected context if ( $event->name !== 'MENU_ITEMS_ASSEMBLY' ) { - $message = "Tabpage plugin error:"; + $message = "Children pages plugin error:"; $message .= "addMenuItem method should only be called by \"MENU_ITEMS_ASSEMBLY\" event"; $message .= ", but it has been called by \"$event->name\"."; throw new Exception($message);