Skip to content

Commit 274f79f

Browse files
committed
Fixed: capabilities of Form completions and Custom Events.
1 parent fe05b83 commit 274f79f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Admin/Settings/Page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function __construct() {
181181
'slug' => 'enhanced_measurements',
182182
'type' => 'checkbox',
183183
'value' => 'tagged-events',
184-
'caps' => [ self::CAP_GOALS, self::CAP_PROPS ],
184+
'caps' => [ self::CAP_GOALS ],
185185
],
186186
'revenue' => [
187187
'label' => esc_html__( 'Ecommerce revenue', 'plausible-analytics' ),
@@ -205,7 +205,7 @@ public function __construct() {
205205
'slug' => 'enhanced_measurements',
206206
'type' => 'checkbox',
207207
'value' => 'form-completions',
208-
'caps' => [ self::CAP_GOALS, self::CAP_PROPS ],
208+
'caps' => [ self::CAP_GOALS ],
209209
],
210210
'hash' => [
211211
'label' => esc_html__( 'Hash-based routing', 'plausible-analytics' ),

0 commit comments

Comments
 (0)