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 | wp_dynsync.php +1 -3 5.254.84 View file →
@@ -7,10 +7,8 @@
7 7
8 8 public static $dynsync_table = 'dynamic_sync';
9 9 public $db;
10 10 public $settings;
11 - public $config;
12 - public $ignored_events;
13 11
14 12 public function __construct($db, $settings, $config) {
15 13 $this->db = $db;
16 14 $this->settings = $settings;
@@ -198,9 +196,9 @@
198 196 function is_key_ignored($ignored_keys, $value) {
199 197 $is_ignored = false;
200 198 foreach($ignored_keys as $val) {
201 199 if ($val[0] == '/') {
202 - if (WPRHelper::safePregMatch($val, $value))
200 + if (preg_match($val, $value))
203 201 $is_ignored = true;
204 202 } else {
205 203 if ($val == $value)
206 204 $is_ignored = true;