| @@ -129,8 +129,12 @@ | ||
| 129 | 129 | if ( is_admin() && ! wp_doing_ajax() ) { |
| 130 | 130 | return; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | + if ( ! class_exists( 'Operators' ) ) { | |
| 134 | + require_once __DIR__ . '/operators.php'; | |
| 135 | + } | |
| 136 | + | |
| 133 | 137 | $condition = self::$conditions[ $condition_name ]; |
| 134 | 138 | $operator = Operators::$operators[ $operator_name ]; |
| 135 | 139 | $extracted_value = $condition->get_value(); |
| 136 | 140 | |