1
0

Fix trackback deletion from frontend, invalid referrer error

Was missing the token. For context see https://board.s9y.org/viewtopic.php?f=10&t=24633
This commit is contained in:
onli
2019-12-16 14:49:00 +01:00
parent 137330fd5b
commit f0e4b54243
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
Version 2.4-alpha1 () Version 2.4-alpha1 ()
------------------------------------------------------------------------ ------------------------------------------------------------------------
* Fix invalid HTTP referrer error when trying to delete a
trackback from the frontend
* Use the video tag for videos in the Medialibrary, also when * Use the video tag for videos in the Medialibrary, also when
inserting such a video into an entry inserting such a video into an entry

View File

@ -11,7 +11,7 @@
{/if} {/if}
{if $entry.is_entry_owner} {if $entry.is_entry_owner}
<footer> <footer>
<a href="{$serendipityBaseURL}comment.php?serendipity[delete]={$trackback.id}&amp;serendipity[entry]={$trackback.entry_id}&amp;serendipity[type]=trackbacks">{$CONST.DELETE}</a> <a href="{$trackback.link_delete}">{$CONST.DELETE}</a>
</footer> </footer>
{/if} {/if}
</article> </article>