WordPress.org

Ready to get started?Download WordPress

Forums

poll_timestamp year (3 posts)

  1. Russel Fones
    Member
    Posted 6 years ago #

    The year dropdown on the timestamp only lists years from 200 to the current year. It doesn't make sense to be able to choose a date in the past. I was attempting to create a poll than would expire in 2008, but 2008 was not in the dropdown. I replaced this code (polls/polls.php - line: 1055):
    for($i = 2000; $i <= $year; $i++) {
    with this:
    for($i = $year; $i <= $year + 5; $i++) {

    I'm not sure if that's the best fix or if it's even correct, but it works for me.

  2. Leejj
    Member
    Posted 6 years ago #

    This is the very reason I came here right now. Did that work well for you then?

  3. Lester Chan
    Member
    Posted 6 years ago #

    it has been reported to me quite sometime back, ttp://forums.lesterchan.net/index.php/topic,1324.0.html (the same fix is there too) and I have already fixed it in the upcoming wp-polls 2.30

Topic Closed

This topic has been closed to new replies.

About this Topic