Skip to content

Commit

Permalink
fix: edit link on mail not working
Browse files Browse the repository at this point in the history
  • Loading branch information
sapayth committed Mar 22, 2024
1 parent e381ba0 commit 9d07bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Ajax/Frontend_Form_Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ public function prepare_mail_body( $content, $user_id, $post_id ) {

$home_url = sprintf( '<a href="%s">%s</a>', home_url(), home_url() );
$post_url = sprintf( '<a href="%s">%s</a>', get_permalink( $post_id ), get_permalink( $post_id ) );
$post_edit_link = sprintf( '<a href="%s">%s</a>', admin_url( 'WPUF_Post_Form_Template_Post.php?action=edit&post=' . $post_id ), admin_url( 'WPUF_Post_Form_Template_Post.php?action=edit&post=' . $post_id ) );
$post_edit_link = sprintf( '<a href="%s">%s</a>', admin_url( 'post.php?action=edit&post=' . $post_id ), admin_url( 'post.php?action=edit&post=' . $post_id ) );

$post_field_replace = [
$post->post_title,
Expand Down

0 comments on commit 9d07bc7

Please sign in to comment.