Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Date Selector Field using years past 2009


Burt Adsit
Participant

@burtadsit

I can usually recommend some solution that doesn’t require modifying the core. In this case I just can’t. It looks to me like the only way to get years beyond 2009 is to do this:

/buddypress/bp-xprofile/bp-xprofile-classes.php

Line # 567 is:

for ( $i = date( ‘Y’, time() ); $i > 1899; $i– ) {

Change that to:

for ( $i = date( ‘Y’, time() ) + 5; $i > 1899; $i– ) {

Skip to toolbar