Posts older than – query re logic

Home Forums Bulk Delete Addons Scheduler for Deleting Posts by Post Type Posts older than – query re logic

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

This topic contains 18 replies, has 2 voices, and was last updated by  Sudar 8 years, 10 months ago.

  • Author
    Posts
  • #4686

    Cam Bennett
    Participant

    Hi,

    We are using the pro plugin for Deleting Posts by Custom post type.

    I have tried deleting published posts where older than 60 days, but we ended up deleting some posts which were in October 2015 (today being 19th October 2015).

    I wondered if there was anything that I should know in relation to when we use this field in the filters? ie Whch date is this based on etc?

    Many thanks
    Cam

  • #4687

    Sudar
    Keymaster

    Hello Cam,

    Usually the date on which the post was published would be used for this.

    But if that post type was created by another plugin, then they may try to override the db query which might affect this filter.

    Please let me know the post type from which you want to delete the posts and also the name of the plugin that creates these posts.

    Also attach the System info for your installation. You can get it from Bulk WP -> System Info.

  • #4688

    Cam Bennett
    Participant
    This reply has been marked as private.
  • #4838

    Sudar
    Keymaster

    Hello Cam,

    Apologies for the delay in getting back to you on this.

    Are you still facing this issue? I just checked the logic that handles the deletion based on post created date and it seems to be working properly.

    Let me know if you are still facing this issue.

  • #5263

    Cam Bennett
    Participant

    Hi – Sorry for the delay in replying.

    I will give it another go and see how its going – I need to check with the client.

    Many thanks again for your support.

    Thanks
    Cam

  • #5264

    Sudar
    Keymaster

    Hello Cam,

    Not a problem at all.

    Do let me know if you still face any issues.

  • #5362

    Cam Bennett
    Participant

    Hi Sudar,

    I have finally had another go at this, on a dev version of the site.

    There were 3291 published jobs and using the options from the attached, it has deleted (to the trash) all jobs.

    This doesn’t seem correct, as there were jobs which were published within the past 24 hours, but these have been deleted as well.

    Any ideas?

    Thanks
    Cam

    Attachments:
    You must be logged in to view attached files.
  • #5372

    Sudar
    Keymaster

    Hello Cam,

    I just checked deleting posts from a custom post type and they were moved to trash properly.

    Can you please tell me which plugin are you using to create the posts from this ‘job’ custom post type?

  • #5373

    Cam Bennett
    Participant
    This reply has been marked as private.
  • #5439

    Cam Bennett
    Participant

    Hi – any further thoughts on this one?

    Many thanks
    Cam

  • #5440

    Sudar
    Keymaster

    Hello Cam,

    Can you please give me access to your dev site?

  • #5441

    Cam Bennett
    Participant
    This reply has been marked as private.
  • #5442

    Sudar
    Keymaster

    Yes. For now only admin access to WordPress admin.

    I will let you know if I need access to your server.

  • #5443

    Cam Bennett
    Participant
    This reply has been marked as private.
  • #5444

    Sudar
    Keymaster

    Hello Cam,

    I have received the password. I will let you know after checking your site.

  • #5503

    Cam Bennett
    Participant
    This reply has been marked as private.
  • #5531

    Sudar
    Keymaster

    Hello Cam,

    I checked your website and it looks like you are using a really old version of WordPress.

    You are using a version that was released more than 4 years ago and there have been at least 10 major versions released after that.

    Since it is a very old version of WordPress, I am pretty sure most plugins will not work properly on it.

    Is there any specific reason why you have not updated your WordPress installation?

  • #5542

    Cam Bennett
    Participant
    This reply has been marked as private.
  • #5544

    Sudar
    Keymaster

    Yeah it is way behind.

    Apart from functionality issues, you are also going to be facing security issues.

    There were lot of security fixes that happened after that release.

The forum ‘Scheduler for Deleting Posts by Post Type’ is closed to new topics and replies.