PluginProbe
Private groups / 2.3
Private groups v2.3
trunk 1.5 1.6 1.7 1.8 1.8.1 1.9.1 1.9.2 2.0 2.0.1 2.2 2.3 2.4 2.5 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 All 116 releases
← All changes | includes/settings.php +0 -3 2.42.3 View file →
@@ -298,12 +298,9 @@
298 298 $countu=0 ;
299 299 foreach ($users as $user) {
300 300
301 301 $check= get_user_meta( $user, 'private_group',true);
302 - //single user check
303 302 if ($check==$name) $countu++ ;
304 - //multiple group set
305 - if (strpos($check, '*'.$name.'*') !== FALSE) $countu++;
306 303 }
307 304 echo $countu ;
308 305 ?>
309 306