Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/themify-...
File: themify-builder-pro.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Plugin Name: Themify Builder Pro
[3] Fix | Delete
* Plugin URI: https://themify.me/builder-pro
[4] Fix | Delete
* Description: Build custom WordPress themes and templates (header, footer, post/page templates, etc.) using Themify Builder.
[5] Fix | Delete
* Version: 2.1.3
[6] Fix | Delete
* Author: Themify
[7] Fix | Delete
* Author URI: https://themify.me/
[8] Fix | Delete
* License: GPL-2.0+
[9] Fix | Delete
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
[10] Fix | Delete
* Text Domain: tbp
[11] Fix | Delete
* Domain Path: /languages
[12] Fix | Delete
* Compatibility: 5.0.0
[13] Fix | Delete
*/
[14] Fix | Delete
[15] Fix | Delete
// If this file is called directly, abort.
[16] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[17] Fix | Delete
die;
[18] Fix | Delete
}
[19] Fix | Delete
/**
[20] Fix | Delete
* Currently plugin version.
[21] Fix | Delete
* Start at version 1.0.0 and use SemVer - https://semver.org
[22] Fix | Delete
* Rename this for your plugin and update it as you release new versions.
[23] Fix | Delete
*/
[24] Fix | Delete
define( 'TBP_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
[25] Fix | Delete
define( 'TBP_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
[26] Fix | Delete
define('TBP_CSS_MODULES',TBP_URL.'public/css/modules/');
[27] Fix | Delete
define('TBP_WC_CSS_MODULES',TBP_URL.'public/css/wc/modules/');
[28] Fix | Delete
[29] Fix | Delete
/**
[30] Fix | Delete
* The core plugin class that is used to define internationalization,
[31] Fix | Delete
* admin-specific hooks, and public-facing site hooks.
[32] Fix | Delete
*/
[33] Fix | Delete
require TBP_DIR. 'includes/class-tbp.php';
[34] Fix | Delete
[35] Fix | Delete
/**
[36] Fix | Delete
* The code that runs during plugin activation.
[37] Fix | Delete
* This action is documented in includes/class-tbp-activator.php
[38] Fix | Delete
*/
[39] Fix | Delete
function tbp_activate() {
[40] Fix | Delete
Tbp::register_cpt();
[41] Fix | Delete
flush_rewrite_rules();
[42] Fix | Delete
}
[43] Fix | Delete
[44] Fix | Delete
register_activation_hook( __FILE__, 'tbp_activate' );
[45] Fix | Delete
[46] Fix | Delete
[47] Fix | Delete
[48] Fix | Delete
/**
[49] Fix | Delete
* Begins execution of the plugin.
[50] Fix | Delete
*
[51] Fix | Delete
* Since everything within the plugin is registered via hooks,
[52] Fix | Delete
* then kicking off the plugin from this point in the file does
[53] Fix | Delete
* not affect the page life cycle.
[54] Fix | Delete
*
[55] Fix | Delete
* @since 1.0.0
[56] Fix | Delete
*/
[57] Fix | Delete
add_action( 'init', array('Tbp','run'));
[58] Fix | Delete
[59] Fix | Delete
function tbp_admin_notices() {
[60] Fix | Delete
if ( ! class_exists( 'Themify_Builder' ) ) {
[61] Fix | Delete
?>
[62] Fix | Delete
<div class="error">
[63] Fix | Delete
<p><?php printf( __( 'Builder Pro plugin requires <a href="%s">Themify framework</a>, or the free <a href="%s">Themify Builder plugin</a>.', 'tbp' ), 'https://themify.me/themes', 'https://wordpress.org/plugins/themify-builder/' ); ?></p>
[64] Fix | Delete
</div>
[65] Fix | Delete
<?php
[66] Fix | Delete
}
[67] Fix | Delete
}
[68] Fix | Delete
add_action( 'admin_notices', 'tbp_admin_notices' );
[69] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function