[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Avoid warnings for undefined plugin parameters by assigning default empty values

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68a5fd0f2ee0c_2cd6d581497e@gitlab-sidekiq-low-urgency-cpu-bound-v2-7cf5dbccb9-s24rz.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
b5faf4c4 by Landry Bitege at 2025-08-20T16:43:30+00:00
[FIX] Avoid warnings for undefined plugin parameters by assigning default empty values
---
* [FIX] Avoid warnings for undefined plugin parameters by assigning default empty values

See merge request tikiwiki/tiki!8215

- - - - -


1 changed file:

- lib/wiki-plugins/wikiplugin_dialog.php


Changes:

=====================================
lib/wiki-plugins/wikiplugin_dialog.php
=====================================
@@ -45,6 +45,7 @@ function wikiplugin_dialog_info()
                 'description' => tra('Css class names to apply to the buttons. Use comma-separated values for multiple buttons.'),
                 'since' => '28.0',
                 'filter' => 'text',
+                'default' => '',
             ],
             'buttonsActions' => [
                 'required' => false,
@@ -52,6 +53,7 @@ function wikiplugin_dialog_info()
                 'description' => tra('JavaScript to perform on button click. Use comma-separated values for multiple buttons'),
                 'since' => '28.0',
                 'filter' => 'text',
+                'default' => '',
             ],
             'actions' => [
                 'required' => false,



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b5faf4c414e1bb0769617974911c421fe4abb99f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b5faf4c414e1bb0769617974911c421fe4abb99f
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.