PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

S2MEMBER_CURRENT_USER_FIELDS not including custom fields

s2Member Plugin. A Membership plugin for WordPress®.

S2MEMBER_CURRENT_USER_FIELDS not including custom fields

Postby davidwebster48 » July 13th, 2010, 5:20 pm

I am using s2member v3.1.2, and I think I've found a small bug. The S2MEMBER_CURRENT_USER_FIELDS constant does not contain my custom fields.

I have found the cause, in s2member/includes/functions/constants.inc.php, line 211. It uses $result where it should use $r. When I changed that the problem was fixed.

I hope this helps someone.

cheers
David
User avatar
davidwebster48
Registered User
Registered User
 
Posts: 1
Joined: July 13, 2010

Re: S2MEMBER_CURRENT_USER_FIELDS not including custom fields

Postby Jason Caldwell » July 14th, 2010, 4:30 pm

Hi David. Thank you VERY much for reporting this.

I'm logging this for an immediate fix before the next release.
s2Member v3.1.3+ will correct the two references to $result->, changing them to $r->.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest

cron