@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb010 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
wordpress
/
wp-content
/
plugins
/
ktai_style
/
Path :
Upload File :
New :
File
Dir
//homepage/wordpress/wp-content/plugins/ktai_style/patches.php
<?php /* ================================================== * Patches for other plugins ================================================== */ /* ================================================== * Keep access to admin screen if not exists ktai style admin directory */ if (file_exists(PLUGINDIR . '/wphone') || file_exists(PLUGINDIR . '/mobileadmin')) { define ('KS_KEEP_ADMIN_ACESS', TRUE); } /* ================================================== * Erase Location URL for Ktai Location */ function ks_erase_location_url($content) { return preg_replace('!\s*<div class="([-. \w]+ )?location([-. \w]+ )?">.*?</div>!se', '"$1$2" ? "<div class=\"$1$2\"> </div>" : ""', $content); } add_filter('the_content', 'ks_erase_location_url', 88); /* ================================================== * Disable WP-SpamFree */ if (! class_exists('wpSpamFree')): class wpSpamFree { public function __construct() { return; } } endif; ?>