: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if ( ! defined( 'ABSPATH' ) ) {
* The template for the panel header area.
* Override this template by specifying the path where it is stored (templates_path) in your Redux config.
* @author Redux Framework
* @package ReduxFramework/Templates
$tip_title = __( 'Developer Mode Enabled', 'accelerated-mobile-pages' );
if ( $this->parent->dev_mode_forced ) {
if ( Redux_Helpers::isWpDebug() ) {
$debug_bit = __( 'WP_DEBUG is enabled', 'accelerated-mobile-pages' );
if ( Redux_Helpers::isLocalHost() ) {
$localhost_bit = __( 'you are working in a localhost environment', 'accelerated-mobile-pages' );
if ( $is_localhost && $is_debug ) {
$conjunction_bit = ' ' . __( 'and', 'accelerated-mobile-pages' ) . ' ';
$tip_msg = __( 'This has been automatically enabled because', 'accelerated-mobile-pages' ) . ' ' . $debug_bit . $conjunction_bit . $localhost_bit . '.';
$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' );
<?php if ( ! empty( $this->parent->args['display_name'] ) ) { ?>
<div class="display_header">
<h2><?php echo $this->parent->args['display_name']; ?></h2>
<?php if ( ! empty( $this->parent->args['display_version'] ) ) { ?>
<span><?php echo $this->parent->args['display_version']; ?></span>
<div id="right-elements">
<?php if ( uwl_fs()->is_not_paying() ) { ?>
<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>
<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>
<?php if ( isset( $this->parent->args['share_icons'] ) ) : ?>
<?php foreach ( $this->parent->args['share_icons'] as $link ) : ?>
if ( isset( $link['link'] ) && ! empty( $link['link'] ) ) {
$link['url'] = $link['link'];
<a href="<?php echo esc_url($link['url']) ?>" title="<?php echo esc_attr($link['title']); ?>" target="_blank">
<?php if ( isset( $link['icon'] ) && ! empty( $link['icon'] ) ) : ?>
if ( strpos( $link['icon'], 'el-icon' ) !== false && strpos( $link['icon'], 'el ' ) === false ) {
$link['icon'] = 'el ' . $link['icon'];
echo esc_attr($link['icon']);
<img src="<?php echo esc_url($link['img']) ?>"/>
<div class="clear"></div>