← All changes
|
jetpack_vendor/automattic/jetpack-forms/src/class-jetpack-forms.php
+6
-3
16.2
→
16.3-a.7
View file →
| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | * Understands the Jetpack Forms package. |
| 16 | 16 | */ |
| 17 | 17 | class Jetpack_Forms { |
| 18 | 18 | |
| 19 | - const PACKAGE_VERSION = '8.0.3'; | |
| 19 | + const PACKAGE_VERSION = '8.2.2'; | |
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Name of the feature flag gating field conditional logic. |
| 23 | 23 | */ |
| @@ -95,14 +95,17 @@ | ||
| 95 | 95 | * @return boolean |
| 96 | 96 | */ |
| 97 | 97 | public static function is_feedback_dashboard_enabled() { |
| 98 | 98 | /** |
| 99 | - * Enable the new Jetpack Forms dashboard. | |
| 99 | + * Enable the Jetpack Forms dashboard. | |
| 100 | 100 | * |
| 101 | + * Returning false hides the Forms admin menu entry and skips the dashboard | |
| 102 | + * entirely. Unrelated to which dashboard renders — there is only one. | |
| 103 | + * | |
| 101 | 104 | * @module contact-form |
| 102 | 105 | * @since 0.3.0 |
| 103 | 106 | * |
| 104 | - * @param bool false Should the new Jetpack Forms dashboard be enabled? Default to false. | |
| 107 | + * @param bool $enabled Should the Jetpack Forms dashboard be enabled? Default true. | |
| 105 | 108 | */ |
| 106 | 109 | return apply_filters( 'jetpack_forms_dashboard_enable', true ); |
| 107 | 110 | } |
| 108 | 111 | |