| @@ -313,11 +313,11 @@ | ||
| 313 | 313 | if ( ! current_user_can( 'publish_pages' ) ) { |
| 314 | 314 | return 0; |
| 315 | 315 | } |
| 316 | 316 | |
| 317 | - $content = '<!-- wp:paragraph --><p>' | |
| 318 | - . esc_html__( 'Thank you! Your email address has been confirmed.', 'double-opt-in' ) | |
| 319 | - . '</p><!-- /wp:paragraph -->'; | |
| 317 | + // The shortcode tells a confirmed link from an expired or invalid one | |
| 318 | + // (5.8.0); a fixed "confirmed" text said so for every click. | |
| 319 | + $content = '<!-- wp:shortcode -->[doi_confirmation_status]<!-- /wp:shortcode -->'; | |
| 320 | 320 | |
| 321 | 321 | $id = wp_insert_post( |
| 322 | 322 | array( |
| 323 | 323 | 'post_type' => 'page', |