1

Somehow, it doesn't seem to be possible to plan post for my subscibers (visibility private) as they get published private automatically as soon as I save them.

Is there any way I can keep wordpress from doing so?

2
  • 1
    Deactivate all plugins, switch to the default theme. Does it still happen?
    – kaiser
    Nov 5, 2013 at 0:36
  • thanks for your suggestion, unfortunately, this did not do the trick :(
    – nozzleman
    Nov 5, 2013 at 8:12

2 Answers 2

2

The problem is that changing the post visibility to private invokes a status change, in a way private is not only a visibility but also a publishing status. Or to quote the Wordpress Codex, section »Content Visibility - Private Content«.

Once you change the visibility to private, the post or page status changes to "Privately Published" as shown. Private posts are automatically published (...).

To achieve what you want you probably have to work with the publish_post or even better the publish_future_post hook. Another possibility is to work with Post Status Transitions and the according hooks.

3
  • Thanks, that seems to answer my question. So as far as I understand, I might have to code? I was hoping there as an easier way ;)
    – nozzleman
    Nov 5, 2013 at 8:16
  • Not that I know of, but if you find one, come back an d share it. I recently wrote an answer about making a custom post type private by default, of course this isn't exactly what your are looking for, but maybe it'll help you out getting there anyway. Nov 5, 2013 at 14:01
  • If i find a Solution of course.
    – nozzleman
    Nov 5, 2013 at 15:08
2

Have you checked your timezone settings under Settings -> General? One of the things that can cause this is if the schedule date is in the past according to the configured timezone but not according to your time.

1
  • Are you really, really sure about that?
    – kaiser
    Nov 5, 2013 at 13:58

Your Answer

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

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