Fixed A deleted profile-post does not have an undelete button

Affected version
2.0.12

Xon

Well-known member
There is not actionUndelete and no undelete button on a deleted Profile Post. But you can undelete them via inline moderation tools.

Profile post comments do have an undelete button (and actionCommentUndelete function).
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 B7/RC1).

Change log:
Add a controller action and link for deleting a single profile post. Add the same to posts.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 

Chris D

XenForo developer
Staff member
Of course this isn't really a new issue - it's the same in XF 1.5. Arguably not an issue at all, because the logic of the inconsistency is that profile posts have inline moderation and that can be used to undelete. By contrast, profile post comments do not support inline moderation and therefore that needs a specific controller action to do it.

It's not unique either. Notably posts is exactly the same.

That said, as per the above, we have made some changes here. We've actually added a new Undelete controller plugin which is similar to the Delete plugin we added in XF 2.1.

Makes things slightly easier so there isn't technically an excuse anymore for not having a dedicated undelete action, I guess! :eek:
 
Top