X7ROOT File Manager
Current Path:
/usr/src/litespeed-wp-plugin/6.5.0.2/litespeed-cache/thirdparty
usr
/
src
/
litespeed-wp-plugin
/
6.5.0.2
/
litespeed-cache
/
thirdparty
/
??
..
??
aelia-currencyswitcher.cls.php
(1.79 KB)
??
amp.cls.php
(1.88 KB)
??
autoptimize.cls.php
(730 B)
??
avada.cls.php
(647 B)
??
bbpress.cls.php
(2.32 KB)
??
beaver-builder.cls.php
(933 B)
??
caldera-forms.cls.php
(403 B)
??
divi-theme-builder.cls.php
(2.2 KB)
??
elementor.cls.php
(1.34 KB)
??
entry.inc.php
(1.46 KB)
??
facetwp.cls.php
(685 B)
??
gravity-forms.cls.php
(525 B)
??
litespeed-check.cls.php
(4.64 KB)
??
nextgengallery.cls.php
(6.15 KB)
??
perfmatters.cls.php
(659 B)
??
theme-my-login.cls.php
(875 B)
??
user-switching.cls.php
(514 B)
??
wc-pdf-product-vouchers.cls.php
(645 B)
??
wcml.cls.php
(932 B)
??
woo-paypal.cls.php
(594 B)
??
woocommerce.cls.php
(23.87 KB)
??
woocommerce.content.tpl.php
(3.45 KB)
??
woocommerce.tab.tpl.php
(184 B)
??
wp-polls.cls.php
(480 B)
??
wp-postratings.cls.php
(606 B)
??
wpdiscuz.cls.php
(793 B)
??
wplister.cls.php
(689 B)
??
wpml.cls.php
(627 B)
??
wptouch.cls.php
(704 B)
??
yith-wishlist.cls.php
(4.32 KB)
Editing: wpdiscuz.cls.php
<?php /** * The Third Party integration with Wpdiscuz. * * @since 2.9.5 * @package LiteSpeed_Cache * @subpackage LiteSpeed_Cache/thirdparty * @author LiteSpeed Technologies <info@litespeedtech.com> */ namespace LiteSpeed\Thirdparty; defined('WPINC') || exit(); use LiteSpeed\API; class Wpdiscuz { public static function detect() { if (!defined('WPDISCUZ_DS')) { return; } self::check_commenter(); add_action('wpdiscuz_add_comment', __CLASS__ . '::add_comment'); } public static function add_comment() { API::vary_append_commenter(); } public static function check_commenter() { $commentor = wp_get_current_commenter(); if (strlen($commentor['comment_author']) > 0) { add_filter('litespeed_vary_check_commenter_pending', '__return_false'); } } }
Upload File
Create Folder