Skip to content

Commit 6daba43

Browse files
authored
Revert "Remove contact form legacy admin files (#43821)"
This reverts commit 1eb95a6.
1 parent 1eb95a6 commit 6daba43

File tree

9 files changed

+1901
-37
lines changed

9 files changed

+1901
-37
lines changed

projects/packages/forms/.phan/baseline.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@
2020
// PhanDeprecatedClass : 1 occurrence
2121
// PhanPluginMixedKeyNoKey : 1 occurrence
2222
// PhanPossiblyNullTypeMismatchProperty : 1 occurrence
23+
// PhanTypeArraySuspiciousNullable : 1 occurrence
2324
// PhanTypeMismatchReturnNullable : 1 occurrence
2425
// PhanUnreferencedUseNormal : 1 occurrence
2526

2627
// Currently, file_suppressions and directory_suppressions are the only supported suppressions
2728
'file_suppressions' => [
2829
'src/abilities/class-forms-abilities.php' => ['PhanUndeclaredFunction'],
30+
'src/contact-form/class-admin.php' => ['PhanPluginDuplicateConditionalNullCoalescing', 'PhanTypeArraySuspiciousNullable', 'PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentProbablyReal', 'PhanTypeMismatchReturn'],
2931
'src/contact-form/class-contact-form-field.php' => ['PhanPluginDuplicateConditionalNullCoalescing', 'PhanPossiblyNullTypeMismatchProperty', 'PhanTypeConversionFromArray', 'PhanTypeMismatchArgument', 'PhanTypeMismatchReturnProbablyReal'],
3032
'src/contact-form/class-contact-form-plugin.php' => ['PhanPluginDuplicateAdjacentStatement', 'PhanPluginDuplicateConditionalNullCoalescing', 'PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentProbablyReal', 'PhanTypeMismatchReturnProbablyReal'],
3133
'src/contact-form/class-contact-form-shortcode.php' => ['PhanPluginDuplicateConditionalNullCoalescing', 'PhanTypeMismatchReturnProbablyReal'],

projects/packages/forms/changelog/remove-contact-form-legacy-admin-files

Lines changed: 0 additions & 4 deletions
This file was deleted.

projects/packages/forms/docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ Classes that handle form rendering and processing:
3434

3535
Classes for admin and user-facing interfaces:
3636

37+
- **Admin** - Admin interface for viewing and managing form submissions. Provides list tables and detail views for feedback posts.
38+
3739
- **Editor_View** - Handles form display in the block editor. Provides live previews and editing capabilities.
3840

41+
- **Form_View** - Renders forms on the frontend. Handles HTML generation, validation display, and success messages.
42+
3943
### Utilities
4044

4145
Helper classes:

0 commit comments

Comments
 (0)