HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/date.php.tar
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-includes/date.php000064400000000620151530021050020561 0ustar00<?php
/**
 * Class for generating SQL clauses that filter a primary query according to date.
 *
 * This file is deprecated, use 'wp-includes/class-wp-date-query.php' instead.
 *
 * @deprecated 5.3.0
 * @package WordPress
 */

_deprecated_file( basename( __FILE__ ), '5.3.0', WPINC . '/class-wp-date-query.php' );

/** WP_Date_Query class */
require_once ABSPATH . WPINC . '/class-wp-date-query.php';
vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/contact-form-7/includes/swv/php/rules/date.php000064400000001076151553454330031163 0ustar00var/www<?php

namespace Contactable\SWV;

class DateRule extends Rule {

	const rule_name = 'date';

	public function matches( $context ) {
		if ( false === parent::matches( $context ) ) {
			return false;
		}

		if ( empty( $context['text'] ) ) {
			return false;
		}

		return true;
	}

	public function validate( $context ) {
		$input = $this->get_default_input();
		$input = wpcf7_array_flatten( $input );
		$input = wpcf7_exclude_blank( $input );

		foreach ( $input as $i ) {
			if ( ! wpcf7_is_date( $i ) ) {
				return $this->create_error();
			}
		}

		return true;
	}

}