SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > wp-super-cache > plugins


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/wp-super-cache/plugins

NameTypeSizeLast ModifiedActions
awaitingmoderation.php File 2889 bytes January 23 2023 11:59:36.
badbehaviour.php File 4093 bytes January 23 2023 11:59:36.
domain-mapping.php File 4580 bytes May 03 2019 20:48:22.
dynamic-cache-test.php File 8265 bytes January 23 2023 11:59:36.
jetpack.php File 4086 bytes November 02 2022 07:51:08.
multisite.php File 2398 bytes April 04 2025 21:59:58.
wptouch.php File 5171 bytes January 23 2023 11:59:36.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/wp-super-cache/plugins/awaitingmoderation.php

<?php

function awaitingmoderation_action( $buffer ) {
	$buffer = str_replace( __( 'Your comment is awaiting moderation.', 'wp-super-cache' ), '', $buffer );
	return $buffer;
}

function awaitingmoderation_actions() {
	global $cache_awaitingmoderation;
	if ( '1' === $cache_awaitingmoderation ) {
		add_filter( 'wpsupercache_buffer', 'awaitingmoderation_action' );
	}
}
add_cacheaction( 'add_cacheaction', 'awaitingmoderation_actions' );

// Your comment is awaiting moderation.
function wp_supercache_awaitingmoderation_admin() {
	global $cache_awaitingmoderation, $wp_cache_config_file, $valid_nonce;

	$cache_awaitingmoderation = '' === $cache_awaitingmoderation ? '0' : $cache_awaitingmoderation;

	if ( isset( $_POST['cache_awaitingmoderation'] ) && $valid_nonce ) {
		$cache_awaitingmoderation = (int) $_POST['cache_awaitingmoderation'];
		wp_cache_replace_line( '^ *\$cache_awaitingmoderation', "\$cache_awaitingmoderation = '$cache_awaitingmoderation';", $wp_cache_config_file );
		$changed = true;
	} else {
		$changed = false;
	}
	$id = 'awaitingmoderation-section';
	?>
		<fieldset id="<?php echo $id; ?>" class="options">
		<h4><?php _e( 'Awaiting Moderation', 'wp-super-cache' ); ?></h4>
		<form name="wp_manager" action="" method="post">
		<label><input type="radio" name="cache_awaitingmoderation" value="1" <?php if ( $cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
		<label><input type="radio" name="cache_awaitingmoderation" value="0" <?php if ( ! $cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
		<p><?php _e( 'Enables or disables plugin to Remove the text "Your comment is awaiting moderation." when someone leaves a moderated comment.', 'wp-super-cache' ); ?></p>
		<?php
		if ( $changed ) {
			if ( $cache_awaitingmoderation ) {
				$status = __( 'enabled', 'wp-super-cache' );
			} else {
				$status = __( 'disabled', 'wp-super-cache' );
			}
			echo '<p><strong>' . sprintf( __( 'Awaiting Moderation is now %s', 'wp-super-cache' ), $status ) . '</strong></p>';
		}
		echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
		wp_nonce_field( 'wp-cache' );
	?>
	</form>
	</fieldset>
	<?php
}
add_cacheaction( 'cache_admin_page', 'wp_supercache_awaitingmoderation_admin' );

function wpsc_awaiting_moderation_list( $list ) {
	$list['awaitingmoderation'] = array(
		'key'   => 'awaitingmoderation',
		'url'   => '',
		'title' => __( 'Awaiting Moderation', 'wp-super-cache' ),
		'desc'  => __( 'Enables or disables plugin to Remove the text "Your comment is awaiting moderation." when someone leaves a moderated comment.', 'wp-super-cache' ),
	);
	return $list;
}
add_cacheaction( 'wpsc_filter_list', 'wpsc_awaiting_moderation_list' );

SILENT KILLER Tool