0

For some reason the trash link (to see the trashed posts) is missing, but I'm not sure if it's even supposed to be there in version 3.8.1

We do have the choice to trash an item enter image description here

But I can't see where the trash is kept.

This is a heavily modified wordpress site which we can't update unfortunately, but I'm wondering if: - Is it even supposed to be there? - Can I access it by appending something to the URL? Like /wp-admin/trash.php?

Sorry if it's a silly question, but almost everything online about trash and wordpress is pointing to the hosted version on wordpress.com

I see this in default constants:

if ( !defined( 'EMPTY_TRASH_DAYS' ) )
    define( 'EMPTY_TRASH_DAYS', 30 );
12
  • 1
    Do you have the EMPTY_TRASH_DAYS constant set in wp-config.php? If it's set to 0, items will be immediately deleted rather than placed in trash.
    – Milo
    Commented Feb 23, 2017 at 4:02
  • 1
    Default constants are the values set if a theme or plugin doesn't set a value first. What do you see if you echo EMPTY_TRASH_DAYS; in a template? trash is a post_status, I'm not sure about v3.8, but something like /wp-admin/edit.php?post_status=trash should be the URL for the current version.
    – Milo
    Commented Feb 23, 2017 at 4:27
  • 1
    side note: There is no such thing as we can't there is only we don't want. You are going to run very quickly into a land of pain call "having no one to help you", and if someone thinks upgrading is not fun, being left without any support avenue is even worse Commented Feb 23, 2017 at 4:57
  • 1
    this is usual bean counting. if you upgrade in 6 months than whatever work you are doing now will be just waste of money. Not that I don't understand your situation but you are doing a disservice to whoever you work for if you don't stress the point Commented Feb 23, 2017 at 6:23
  • 1
    Please even if you don't want to update to a recent version please at least upgrade to 3.8.18. This shouldn't really break anything but fixes a tremendous amount of security issues.
    – kraftner
    Commented Feb 27, 2017 at 13:22

1 Answer 1

2

If you don't have any posts in the Trash, then there won't be a link to go and see them. What would be the point of displaying a link to an empty page, after all?

The link to Trashed posts appears on the All Posts screen at the top, right alongside All | Published | Drafts and so forth. If you want to see it appear, make a new post, and then trash that post so that you actually have something in the trash.

Also, WordPress 3.8 is over 3 years old now. Seriously, just click the update button.

1
  • 1
    Making a new post and clicking "Trash" doesn't make link to trashed posts appear Commented Feb 23, 2017 at 5:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.