|
@@ -39,6 +39,9 @@ discard block |
|
|
block discarded – undo |
|
39
|
39
|
$this->add_hooks(); |
|
40
|
40
|
} |
|
41
|
41
|
|
|
|
42
|
+ /** |
|
|
43
|
+ * @param string $component |
|
|
44
|
+ */ |
|
42
|
45
|
private function load_components( $component ) { |
|
43
|
46
|
|
|
44
|
47
|
$dir = trailingslashit( self::$file ); |
|
@@ -255,7 +258,6 @@ discard block |
|
|
block discarded – undo |
|
255
|
258
|
* |
|
256
|
259
|
* @since 1.5.1 |
|
257
|
260
|
* @param array $visibility_caps Array of capabilities to display in field dropdown. |
|
258
|
|
- * @param string $field_type Type of field options to render (`field` or `widget`) |
|
259
|
261
|
* @param string $template_id Table slug |
|
260
|
262
|
* @param float $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by` |
|
261
|
263
|
* @param string $context What context are we in? Example: `single` or `directory` |
|
@@ -717,7 +719,7 @@ discard block |
|
|
block discarded – undo |
|
717
|
719
|
* |
|
718
|
720
|
* @param array $entry Gravity Forms entry array |
|
719
|
721
|
* @param array $field Field settings (optional) |
|
720
|
|
- * @param int|\GV\View $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional) |
|
|
722
|
+ * @param integer $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional) |
|
721
|
723
|
* @return bool |
|
722
|
724
|
*/ |
|
723
|
725
|
public static function check_user_cap_delete_entry( $entry, $field = array(), $view = 0 ) { |
Please login to merge, or discard this patch.