|
@@ -234,7 +234,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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 ) ); |
Please login to merge, or discard this patch.