403Webshell
Server IP : 69.39.225.240  /  Your IP : 216.73.216.138
Web Server : Apache
System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : reademotions ( 1074)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/reademotions/www/wp-content/plugins/bb-plugin/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/reademotions/www/wp-content/plugins/bb-plugin/classes/class-fl-builder-import.php
<?php

/**
 * The WordPress importer plugin has a few issues that break
 * serialized data in certain cases. This class overrides the
 * WordPress importer with our own patched version that fixes
 * these issues.
 *
 * @since 1.8
 */
final class FLBuilderImport {

	/**
	 * @since 1.8
	 * @return void
	 */
	static public function init() {
		if ( ! defined( 'WP_LOAD_IMPORTERS' ) || ! class_exists( 'WP_Import' ) || ! class_exists( 'WXR_Parser_Regex' ) ) {
			return;
		}

		if ( defined( 'FL_BUILDER_IMPORTER_FIX' ) && ! FL_BUILDER_IMPORTER_FIX ) {
			return;
		}

		require_once FL_BUILDER_DIR . 'classes/class-fl-builder-importer.php';

		// Remove the WordPress importer.
		remove_action( 'admin_init', 'wordpress_importer_init' );

		// Add our importer.
		add_action( 'admin_init', 'FLBuilderImport::load' );
	}

	/**
	 * @since 1.8
	 * @return void
	 */
	static public function load() {
		load_plugin_textdomain( 'wordpress-importer', false, 'wordpress-importer/languages' );

		$GLOBALS['wp_import'] = new FLBuilderImporter();

		register_importer( 'wordpress', 'WordPress', __( 'Import <strong>posts, pages, comments, custom fields, categories, and tags</strong> from a WordPress export file.', 'fl-builder' ), array( $GLOBALS['wp_import'], 'dispatch' ) );
	}
}

add_action( 'plugins_loaded', 'FLBuilderImport::init' );

Youez - 2016 - github.com/yon3zu
LinuXploit