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/accelera.../includes/options/template...
File: header.tpl.php
<?php
[0] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[1] Fix | Delete
exit;
[2] Fix | Delete
}
[3] Fix | Delete
/**
[4] Fix | Delete
* The template for the panel header area.
[5] Fix | Delete
*
[6] Fix | Delete
* Override this template by specifying the path where it is stored (templates_path) in your Redux config.
[7] Fix | Delete
*
[8] Fix | Delete
* @author Redux Framework
[9] Fix | Delete
* @package ReduxFramework/Templates
[10] Fix | Delete
* @version 3.5.4.18
[11] Fix | Delete
*/
[12] Fix | Delete
$tip_title = __( 'Developer Mode Enabled', 'accelerated-mobile-pages' );
[13] Fix | Delete
[14] Fix | Delete
if ( $this->parent->dev_mode_forced ) {
[15] Fix | Delete
$is_debug = false;
[16] Fix | Delete
$is_localhost = false;
[17] Fix | Delete
[18] Fix | Delete
$debug_bit = '';
[19] Fix | Delete
if ( Redux_Helpers::isWpDebug() ) {
[20] Fix | Delete
$is_debug = true;
[21] Fix | Delete
$debug_bit = __( 'WP_DEBUG is enabled', 'accelerated-mobile-pages' );
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
$localhost_bit = '';
[25] Fix | Delete
if ( Redux_Helpers::isLocalHost() ) {
[26] Fix | Delete
$is_localhost = true;
[27] Fix | Delete
$localhost_bit = __( 'you are working in a localhost environment', 'accelerated-mobile-pages' );
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
$conjunction_bit = '';
[31] Fix | Delete
if ( $is_localhost && $is_debug ) {
[32] Fix | Delete
$conjunction_bit = ' ' . __( 'and', 'accelerated-mobile-pages' ) . ' ';
[33] Fix | Delete
}
[34] Fix | Delete
[35] Fix | Delete
$tip_msg = __( 'This has been automatically enabled because', 'accelerated-mobile-pages' ) . ' ' . $debug_bit . $conjunction_bit . $localhost_bit . '.';
[36] Fix | Delete
} else {
[37] Fix | Delete
$tip_msg = __( 'If you are not a developer, your theme/plugin author shipped with developer mode enabled. Contact them directly to fix it.', 'accelerated-mobile-pages' );
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
?>
[41] Fix | Delete
<div id="redux-header">
[42] Fix | Delete
<?php if ( ! empty( $this->parent->args['display_name'] ) ) { ?>
[43] Fix | Delete
<div class="display_header">
[44] Fix | Delete
[45] Fix | Delete
<h2><?php echo $this->parent->args['display_name']; ?></h2>
[46] Fix | Delete
[47] Fix | Delete
<?php if ( ! empty( $this->parent->args['display_version'] ) ) { ?>
[48] Fix | Delete
<span><?php echo $this->parent->args['display_version']; ?></span>
[49] Fix | Delete
<?php } ?>
[50] Fix | Delete
[51] Fix | Delete
</div>
[52] Fix | Delete
<?php } ?>
[53] Fix | Delete
[54] Fix | Delete
<div id="right-elements">
[55] Fix | Delete
<div class="links">
[56] Fix | Delete
<?php if ( uwl_fs()->is_not_paying() ) { ?>
[57] Fix | Delete
<span class="uwl-premium-message"><?php _e( '20+ awesome widgets, more widgets styling, premium support', 'accelerated-mobile-pages' ); ?> <a href="<?php echo uwl_fs()->get_upgrade_url(); ?>"><?php _e( 'upgrade Now!', 'accelerated-mobile-pages' ); ?></a></span>
[58] Fix | Delete
<?php } ?>
[59] Fix | Delete
<a href="<?php echo admin_url( 'admin.php?page=uwl_options-contact' ); ?>" class="uwl-support" target="_blank"><?php _e( 'Support Request', 'accelerated-mobile-pages' ); ?></a>
[60] Fix | Delete
</div>
[61] Fix | Delete
[62] Fix | Delete
<?php if ( isset( $this->parent->args['share_icons'] ) ) : ?>
[63] Fix | Delete
<div id="redux-share">
[64] Fix | Delete
<?php foreach ( $this->parent->args['share_icons'] as $link ) : ?>
[65] Fix | Delete
<?php
[66] Fix | Delete
// SHIM, use URL now
[67] Fix | Delete
if ( isset( $link['link'] ) && ! empty( $link['link'] ) ) {
[68] Fix | Delete
$link['url'] = $link['link'];
[69] Fix | Delete
unset( $link['link'] );
[70] Fix | Delete
}
[71] Fix | Delete
?>
[72] Fix | Delete
[73] Fix | Delete
<a href="<?php echo esc_url($link['url']) ?>" title="<?php echo esc_attr($link['title']); ?>" target="_blank">
[74] Fix | Delete
[75] Fix | Delete
<?php if ( isset( $link['icon'] ) && ! empty( $link['icon'] ) ) : ?>
[76] Fix | Delete
<i class="<?php
[77] Fix | Delete
if ( strpos( $link['icon'], 'el-icon' ) !== false && strpos( $link['icon'], 'el ' ) === false ) {
[78] Fix | Delete
$link['icon'] = 'el ' . $link['icon'];
[79] Fix | Delete
}
[80] Fix | Delete
echo esc_attr($link['icon']);
[81] Fix | Delete
?>"></i>
[82] Fix | Delete
<?php else : ?>
[83] Fix | Delete
<img src="<?php echo esc_url($link['img']) ?>"/>
[84] Fix | Delete
<?php endif; ?>
[85] Fix | Delete
[86] Fix | Delete
</a>
[87] Fix | Delete
<?php endforeach; ?>
[88] Fix | Delete
[89] Fix | Delete
</div>
[90] Fix | Delete
<?php endif; ?>
[91] Fix | Delete
</div>
[92] Fix | Delete
[93] Fix | Delete
<div class="clear"></div>
[94] Fix | Delete
</div>
[95] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function