Skip to:
Content

BuddyPress.org

Changeset 4033


Ignore:
Timestamp:
02/11/2011 11:54:59 PM (13 years ago)
Author:
djpaul
Message:

Set range of valid datebox years from 1902 to 2037. Fixes #2946

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-template.php

    r4021 r4033  
    557557                        $html .= '<option value=""' . selected( $year, '', false ) . '>----</option>';
    558558
    559                         for ( $i = date( 'Y' ); $i > 1899; $i-- ) {
     559                        for ( $i = 2037; $i > 1901; $i-- ) {
    560560                            $html .= '<option value="' . $i .'"' . selected( $year, $i, false ) . '>' . $i . '</option>';
    561561                        }
Note: See TracChangeset for help on using the changeset viewer.