Upgrade to WordPress 3.1
Posted: February 23rd, 2011, 3:27 pm
Is anyone else encountering problems with the plug-in after upgrading to V3.1?
— WordPress® ( Users Helping Users ) —
http://www.primothemes.com/forums/
foreach ($user->allcaps as $cap => $cap_enabled)
foreach ($user->allcaps as $cap => $cap_enabled)
if (preg_match ("/^access_s2member_ccap_/", $cap))
$ccaps[] = preg_replace ("/^access_s2member_ccap_/", "", $cap);
/**/
$val = (!empty ($ccaps)) ? implode ("<br />", $ccaps) : "—";
if (is_array($user->allcaps)) {
foreach ($user->allcaps as $cap => $cap_enabled)
if (preg_match ("/^access_s2member_ccap_/", $cap))
$ccaps[] = preg_replace ("/^access_s2member_ccap_/", "", $cap);
/**/
$val = (!empty ($ccaps)) ? implode ("<br />", $ccaps) : "—";
}
if(!$user->allcaps) $user->allcaps = array();
J_J_R wrote:This is really frustrating me because I have a membership site due to launch on Tuesday and I've been torpedoed.
At last a good news ! Hope it helps everybody (I was praying the silence was due to hard work on a WP 3.1 compatible version).
J_J_R wrote:@itsalaska and @JamesUT
Sorry folks, but this can't be the answer. It breaks the Pretty Links plugin and god knows what all else. This is really frustrating me because I have a membership site due to launch on Tuesday and I've been torpedoed.