[pLog-svn] future-posts explanation?
Oscar Renalias
oscar at renalias.net
Tue Sep 4 03:05:10 EDT 2007
I have to say that I don't remember, but I think that this has also
been working fine so far... (at least no one reported an issue with
this)
On 9/4/07, Jon Daley <plogworld at jon.limedaley.com> wrote:
> This code seems to be wrong, but I see that it hasn't been changed
> in forever.
>
> scenario: show_future_posts_in_calendar is set to 1.
>
> If no date is set in the request, then the maxDate is set, so then future
> articles won't be shown.
>
> If the date is set in the request, then the maxDate is not set, and the
> query succeeds.
>
> Is this the desired behavior?
>
> class/action/defaultaction.class.php::
> if(($blogSettings->getValue('show_future_posts_in_calendar')) &&
> ($this->_date > -1)){
> // if posts in the future are to be shown, we shouldn't set a maximum date
> $todayTimestamp = 0;
> }
>
>
>
> I would have expected the this->_date to not be taken into account when
> deciding whether to show future posts or not.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list