PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /home/telusvwg/alwatnitraders.com/wp-content/plugins/wp-migrate-db-pro/class/Common/Db/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : /home/telusvwg/alwatnitraders.com/wp-content/plugins/wp-migrate-db-pro/class/Common/Db/MDBWPDB.php |
<?php
namespace DeliciousBrains\WPMDB\Common\Db;
class MDBWPDB extends \WPDB {
/**
* @var string
*/
public $last_stripped_query;
public function __construct() {
global $wpdb;
parent::__construct( $wpdb->dbuser, $wpdb->dbpassword, $wpdb->dbname, $wpdb->dbhost );
// TODO: Determine if it's better to extend $wpdb or just rep some of its methods
}
/**
* Find the first table name referenced in a query.
*
* @param string $query The query to search.
*
* @return string|false $table The table name found, or false if a table couldn't be found.
*/
public function get_table_from_query( $query ) {
return parent::get_table_from_query( $query );
}
/**
* Strips any invalid characters from the query and caches the stripped query for later use
*
* @param string $query Query to convert.
*
* @return string|WP_Error The converted query, or a WP_Error object if the conversion fails.
*/
public function strip_invalid_text_from_query( $query ) {
$query = apply_filters( 'wpmdb_before_strip_invalid_text_from_query', $query );
$fallback = false;
if ( method_exists( $this, 'strip_invalid_text_from_query' ) ) {
$query = parent::strip_invalid_text_from_query( $query );
$this->flush();
} else {
$fallback = true;
}
$this->last_stripped_query = apply_filters( 'wpmdb_after_strip_invalid_text_from_query', $query, $fallback );
return $this->last_stripped_query;
}
/**
* Determine if a query has invalid text.
*
* @param $query query to check
*
* @return bool
*/
public function query_has_invalid_text( $query ) {
return ( $query !== $this->strip_invalid_text_from_query( $query ) );
}
}