Submit
Path:
~
/
home
/
getwphos
/
www
/
metrothemes.me
/
wp-content
/
plugins
/
redux-framework
/
redux-core
/
inc
/
classes
/
File Content:
class-redux-health.php
<?php /** * Redux Framework Health Class * * @package Redux_Framework/Classes */ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; if ( ! class_exists( 'Redux_Health', false ) ) { /** * Class Redux_Health */ class Redux_Health extends Redux_Class { /** * Redux_Args constructor. * * @param object $redux ReduxFramework object. */ public function __construct( $redux ) { parent::__construct( $redux ); add_action( 'wp_ajax_redux_submit_support_data', array( $this, 'ajax' ) ); } /** * AJAX * * @throws ImagickException Exception. */ public function ajax() { if ( isset( $_POST ) && isset( $_POST['nonce'] ) && wp_verify_nonce( sanitize_key( wp_unslash( $_POST['nonce'] ) ), 'redux_submit_support' ) ) { $nonce = wp_remote_post( 'http://127.0.0.1/redux-4/wp-admin/admin-ajax.php', array( 'user-agent' => 'Redux v.' . Redux_Core::$version, 'timeout' => 300, 'body' => array( 'action' => 'svl_support_create_nonce', 'nonce' => 'redux_support_token', ), ) ); if ( is_wp_error( $nonce ) || empty( $nonce['body'] ) ) { echo wp_json_encode( array( 'status' => 'error', 'data' => esc_html__( 'Security token', 'redux-framework' ) . ' ' . wp_remote_retrieve_response_code( $nonce ) . ': ' . wp_remote_retrieve_response_message( $nonce ), ) ); die(); } if ( ! class_exists( 'WP_Debug_Data' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php'; } WP_Debug_Data::check_for_updates(); $info = WP_Debug_Data::debug_data(); $report = wp_remote_post( 'http://127.0.0.1/redux-4/wp-admin/admin-ajax.php', array( 'user-agent' => 'Redux v.' . Redux_Core::$version, 'timeout' => 300, 'body' => array( 'action' => 'svl_support_create_report', 'nonce' => $nonce['body'], 'data' => wp_json_encode( $info ), 'opt_name' => $this->parent->args['opt_name'], 'product' => 'Redux', ), ) ); if ( ! is_wp_error( $report ) && 200 === wp_remote_retrieve_response_code( $report ) && ! empty( $report['body'] ) ) { $status = 'success'; $data = wp_remote_retrieve_body( $report ); } else { $status = 'error'; $data = esc_html__( 'Data transmit', 'redux-framework' ) . ' ' . wp_remote_retrieve_response_code( $report ) . ': ' . wp_remote_retrieve_response_message( $report ); } echo wp_json_encode( array( 'status' => $status, 'data' => $data, ) ); } die(); } } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
class-redux-admin-notices.php
6703 bytes
0644
class-redux-ajax-save.php
6166 bytes
0644
class-redux-ajax-select2.php
3027 bytes
0644
class-redux-ajax-typography.php
1343 bytes
0644
class-redux-api.php
53885 bytes
0644
class-redux-args.php
11938 bytes
0644
class-redux-autoloader.php
2116 bytes
0644
class-redux-cdn.php
9937 bytes
0644
class-redux-class.php
1142 bytes
0644
class-redux-colors.php
11587 bytes
0644
class-redux-connection-banner.php
12157 bytes
0644
class-redux-enqueue.php
21083 bytes
0644
class-redux-extension-abstract.php
6312 bytes
0644
class-redux-extensions.php
4082 bytes
0644
class-redux-field.php
5214 bytes
0644
class-redux-filesystem.php
30163 bytes
0644
class-redux-functions-ex.php
17249 bytes
0644
class-redux-functions.php
9849 bytes
0644
class-redux-health.php
2652 bytes
0644
class-redux-helpers.php
37696 bytes
0644
class-redux-i18n.php
1313 bytes
0644
class-redux-installer-muter.php
506 bytes
0644
class-redux-instances.php
2831 bytes
0644
class-redux-network.php
2098 bytes
0644
class-redux-options-constructor.php
32887 bytes
0644
class-redux-options-defaults.php
6157 bytes
0644
class-redux-output.php
15224 bytes
0644
class-redux-page-render.php
38348 bytes
0644
class-redux-panel.php
15301 bytes
0644
class-redux-path.php
827 bytes
0644
class-redux-required.php
8690 bytes
0644
class-redux-sanitize.php
3778 bytes
0644
class-redux-thirdparty-fixes.php
3297 bytes
0644
class-redux-transients.php
844 bytes
0644
class-redux-validate.php
1560 bytes
0644
class-redux-validation.php
8427 bytes
0644
class-redux-wordpress-data.php
18444 bytes
0644
index.php
79 bytes
0644
N4ST4R_ID | Naxtarrr