← All changes
|
classes/views/frm-form-actions/_gated_content_settings.php
+1
-1
6.33
→
trunk
View file →
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | // Unique wrapper ID per action instance — prevents JS collisions when multiple |
| 24 | 24 | // gated content actions exist on the same form. |
| 25 | 25 | $frm_gc_wrapper_id = 'frm_gc_settings_' . $this->number; |
| 26 | 26 | |
| 27 | -// array<string, WP_Post[]> — posts grouped by item type key (e.g. 'page', 'post'). | |
| 27 | +// array<string, list<object>> — posts grouped by item type key (e.g. 'page', 'post'). | |
| 28 | 28 | $frm_gc_posts = FrmGatedContentAction::get_posts(); |
| 29 | 29 | |
| 30 | 30 | $frm_gc_total_posts = array_sum( array_map( 'count', $frm_gc_posts ) ); |
| 31 | 31 | $frm_gc_use_autocomplete = $frm_gc_total_posts > 50; |