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

"MAGENE Sem Joel \(@Jomagene\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68bfd4d8998d2_2cdda5426fe@gitlab-sidekiq-low-urgency-cpu-bound-v2-85588f8545-99zmd.mail>

MAGENE Sem Joel pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
3737d715 by Landry Bitege at 2025-09-09T07:12:14+00:00
[BP][FIX] Avoid warnings for undefined plugin parameters by assigning default empty values
---
* [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

See merge request tikiwiki/tiki!8537

- - - - -


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/3737d715532010e85fa6ebbd7b7b0e97c0d91151

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/3737d715532010e85fa6ebbd7b7b0e97c0d91151
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.