• I have configured my Scheduling day to only allow one post on Mondays. So, the expected behaviour is when I click Publish to Schedule the plugin will look for the next monday available and publish it. Well, today is Tuesday (2013, January, 8th) and I clicked over Publish to Schedule button and got the schedule for today.

    Publish to Schedule
    DEBUG: $startDate = 20130108
    DEBUG: $options = Array ( [pts_start] => 00:00 [pts_end] => 23:59 [pts_infosize] => all [pts_allowstats] => yes [pts_0] => 0 [pts_1] => 1 [pts_2] => 0 [pts_3] => 0 [pts_4] => 0 [pts_5] => 0 [pts_6] => 0 [pts_statistics_total_work] => 27 )
    select ID, DATE_FORMAT(post_date,"%Y%m%d") as dtfind, post_author, post_date, post_date_gmt, post_title, post_status, guid from wp_posts where ID <> 1549 and post_status in ("publish","future") and post_type = "post" and post_date >= "20130108" order by post_date ASC 08/01/2013 - Tuesday ( 0 of 1 ) | Availble day!
    
    Will be schedule to:
    Tuesday, 08/01/2013 at 10:24

    https://www.ads-software.com/extend/plugins/publish-to-schedule/

Viewing 1 replies (of 1 total)
  • Thread Starter dfcastro

    (@dfcastro)

    It seems that the function pts_getMaxPostsDay.
    I did not have the time to check all the code, but this method seems to be the responsible for the information if a day have or not slot for a post.

Viewing 1 replies (of 1 total)
  • The topic ‘Version 4.0.01 – Problem Scheduling Posts’ is closed to new replies.