Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Validation rules for themes/plugins market filtering and search
givanz2a1ca406268a
diff --git a/admin/validate/plugins.php b/admin/validate/plugins.phpindex 5859fcd..5b1047f 100755--- a/admin/validate/plugins.php+++ b/admin/validate/plugins.php@@ -25,6 +25,12 @@ return ['notEmpty' => '','maxLength' => 100,],+ 'search' => [+ 'optional' => '',+ ],+ 'taxonomy_item_id' => [+ 'optional' => '',+ ],'browse' => ['allowedValues' => ['popular', 'featured', 'updated', 'new'],],diff --git a/admin/validate/themes.php b/admin/validate/themes.phpindex b30ef12..f4c8eb2 100755--- a/admin/validate/themes.php+++ b/admin/validate/themes.php@@ -28,6 +28,12 @@ return ['maxLength' => 100 /*,'message' => __('%s must not be greater than %d')*/,],+ 'taxonomy_item_id' => [+ 'optional' => '',+ ],+ 'search' => [+ 'optional' => '',+ ],'browse' => ['allowedValues' => ['popular', 'featured', 'updated', 'new'],],