https://t.me/ARX49
Server : LiteSpeed
System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : apotdzgr ( 7060)
PHP Version : 8.0.30
Disable Function : NONE
Directory :  /home/apotdzgr/www/wp-content/plugins/seo-by-rank-math/includes/updates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/apotdzgr/www/wp-content/plugins/seo-by-rank-math/includes/updates/update-1.0.42.php
<?php
/**
 * The Updates routine for version 1.0.42
 *
 * @since      1.0.42
 * @package    RankMath
 * @subpackage RankMath\Updates
 * @author     Rank Math <support@rankmath.com>
 */

use RankMath\Admin\Database\Database;
use RankMath\Redirections\DB;

defined( 'ABSPATH' ) || exit;

/**
 * Set Elementor Library Add metabox value to false.
 */
function rank_math_1_0_42_delete_fake_redirection() {
	global $wpdb;

	$table = Database::table( 'rank_math_redirections' );
	$table->select( 'id' )
		->whereLike( 'url_to', 'https://ischeck.xyz', '' )
		->orWhereLike( 'url_to', 'http://ischeck.xyz', '' )
		->orWhereLike( 'url_to', '//ischeck.xyz', '' );

	$redirections = $table->get( ARRAY_A );
	$redirections = wp_list_pluck( $redirections, 'id' );

	if ( ! empty( $redirections ) ) {
		DB::delete( $redirections );
	}
}
rank_math_1_0_42_delete_fake_redirection();

https://t.me/ARX49 - 2025