Title: changing error message text
Last modified: August 22, 2016

---

# changing error message text

 *  Resolved [quickfox](https://wordpress.org/support/users/quickfox/)
 * (@quickfox)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/changing-error-message-text-1/)
 * Hello,
    Could you tell me in which file I can change the error messages displayed
   by the plugin?
 * Right now, when a user clicks on a link (in their notification email) it displays
   an error message (if the user is not currently logged in) saying
 * “You are not allowed to view this ticket.”
 * Which I think is a bit confusing to the user – since it is their ticket and they
   are allowed to view it – if they log in. I’d like to change the text to
 * “Your session has expired. Please log back in to view your ticket.”
 * Best Regards,
    Joerg
 * [https://wordpress.org/plugins/awesome-support/](https://wordpress.org/plugins/awesome-support/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [quickfox](https://wordpress.org/support/users/quickfox/)
 * (@quickfox)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/changing-error-message-text-1/#post-5798902)
 * Found the page. In case anyone else is interested, it is:
 * includes/class-notification.php
 *  Plugin Author [julien731](https://wordpress.org/support/users/julien731/)
 * (@julien731)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/changing-error-message-text-1/#post-5798904)
 * Hi,
 * I strongly advise you use the `wpas_predefined_notifications` filter to change
   notification messages, otherwise your changes will be erased with the next update.
 * Also, the point you’re raising makes sense. I am considering this message in 
   core but one thing bothers me: anyone can land on any ticket’s page if they have
   the link. In this case, the ticket might not be the visitor’s and telling him
   that he’s not allowed to see it is accurate.
 * Do you have any suggestion on how to mix both cases? You’re not allowed BUT if
   it’s yours then please log-in?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘changing error message text’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [julien731](https://wordpress.org/support/users/julien731/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/changing-error-message-text-1/#post-5798904)
 * Status: resolved