Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jacob Roman

    (@jcbrmn06)

    I got the date, worked out, but i cant seem to find the right wording for controlling the post_status. published, publish, or trash dont seem to effect anything. I switch auto publish off. any suggestions?

    Thread Starter Jacob Roman

    (@jcbrmn06)

    Got it.

    Change:

    if($post['publish'] && empty($content['post_status'])) {
                $content['post_status'] = 'publish';
    
            }
            else {
                $content['post_status'] = 'pending';
            }

    To:

    if($content['post_status'] == 'publish' ) {
                $content['post_status'] = 'publish';
    
            }
            else {
                $content['post_status'] = 'pending';
            }
    Plugin Author Joseph Persie

    (@zmijevik)

    Thanks, this issue should be resolved in the latest version of the plugin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Status’ is closed to new replies.