@@ -171,7 +171,6 @@ |
||
| 171 | 171 | * |
| 172 | 172 | * @since develop |
| 173 | 173 | * @param array $visibility_caps Array of capabilities to display in field dropdown. |
| 174 | - * @param string $field_type Type of field options to render (`field` or `widget`) |
|
| 175 | 174 | * @param string $template_id Table slug |
| 176 | 175 | * @param float $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by` |
| 177 | 176 | * @param string $context What context are we in? Example: `single` or `directory` |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | |
| 235 | 235 | self::getInstance()->set_entry( $entry ); |
| 236 | 236 | |
| 237 | - $base = GravityView_API::directory_link( $post_id ? : $view_id, true ); |
|
| 237 | + $base = GravityView_API::directory_link( $post_id ? : $view_id, true ); |
|
| 238 | 238 | |
| 239 | 239 | if ( empty( $base ) ) { |
| 240 | 240 | gravityview()->log->error( 'Post ID does not exist: {post_id}', array( 'post_id' => $post_id ) ); |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | 'action' => 'duplicate', |
| 249 | 249 | 'entry_id' => $entry_slug, |
| 250 | 250 | 'gvid' => $view_id, |
| 251 | - 'view_id' => $view_id, |
|
| 251 | + 'view_id' => $view_id, |
|
| 252 | 252 | ), $base ); |
| 253 | 253 | |
| 254 | 254 | $url = wp_nonce_url( $actionurl, 'duplicate_'.$entry_slug, 'duplicate' ); |
@@ -433,7 +433,7 @@ discard block |
||
| 433 | 433 | * @since develop |
| 434 | 434 | * @param array $duplicated_entry The duplicated entry |
| 435 | 435 | * @param array $entry The original entry |
| 436 | - */ |
|
| 436 | + */ |
|
| 437 | 437 | do_action( 'gravityview/duplicate-entry/duplicated', $duplicated_entry, $entry ); |
| 438 | 438 | |
| 439 | 439 | gravityview()->log->debug( 'Duplicate response: {duplicate_response}', array( 'duplicate_response' => $duplicate_response ) ); |