PluginProbe
The WP Remote WordPress Plugin / 6.76
The WP Remote WordPress Plugin v6.76
6.76 6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 All 54 releases
← All changes | protect/wp_user.php +4 -4 5.426.76 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2 if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
3 3
4 -if (!class_exists('WPRProtectWPUser_V542')) :
5 -class WPRProtectWPUser_V542 {
4 +if (!class_exists('WPRProtectWPUser_V676')) :
5 +class WPRProtectWPUser_V676 {
6 6 public $id;
7 7 public $role;
8 8 public $role_level;
9 9 public $capabilities;
@@ -20,9 +20,9 @@
20 20 }
21 21
22 22 public static function defaultUser() {
23 23 $time = (int) floor(time() / 43200);
24 - return (new WPRProtectWPUser_V542(0, 0, array(), $time));
24 + return (new WPRProtectWPUser_V676(0, 0, array(), $time));
25 25 }
26 26
27 27 public static function _serialize($user) {
28 28 return $user->id . '|' . $user->role_level . '|' . implode(',', $user->capabilities) . '|' .
@@ -40,9 +40,9 @@
40 40 }
41 41 list($id, $role_level, $capabilities, $time) = $user_attrs;
42 42 $capabilities = array_map('intval', explode(',', $capabilities));
43 43
44 - return (new WPRProtectWPUser_V542((int) $id, (int) $role_level, $capabilities, (int) $time));
44 + return (new WPRProtectWPUser_V676((int) $id, (int) $role_level, $capabilities, (int) $time));
45 45 }
46 46
47 47 public function isIdentical($user) {
48 48 return (($this->id === $user->id) && ($this->role_level === $user->role_level) &&