PluginProbe
The WP Remote WordPress Plugin / 4.84
The WP Remote WordPress Plugin v4.84
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 5.73 All 53 releases
← All changes | account.php +1 -2 5.094.84 View file →
@@ -109,10 +109,9 @@
109 109 public static function accountsByPattern($settings, $search_key, $search_pattern) {
110 110 $accounts = self::allAccounts($settings);
111 111 $accounts_by_pattern = array();
112 112 foreach ($accounts as $pubkey => $value) {
113 - if (array_key_exists($search_key, $value) &&
114 - WPRHelper::safePregMatch($search_pattern, $value[$search_key]) == 1) {
113 + if (array_key_exists($search_key, $value) && preg_match($search_pattern, $value[$search_key]) == 1) {
115 114 $accounts_by_pattern[$pubkey] = $value;
116 115 }
117 116 }
118 117 return $accounts_by_pattern;