: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if ( ! defined( 'ABSPATH' ) ) {
$fs = freemius( $VARS['id'] );
$require_license_key = $VARS['require_license_key'];
$show_delegation_option = $fs->apply_filters( 'show_delegation_option', true );
$enable_per_site_activation = $fs->apply_filters( 'enable_per_site_activation', true );
<?php $separator = '<td>|</td>' ?>
<div class="fs-multisite-options-container fs-apply-on-all-sites"<?php if ( ! $enable_per_site_activation )
echo ' style="display: none;"' ?>>
<table class="fs-all-sites-options">
if ( ! $fs->is_network_upgrade_mode() ) {
$apply_checkbox_label = $require_license_key ?
fs_text_inline( 'Activate license on all sites in the network.', 'activate-license-on-all-sites-in-the-network', $slug ) :
fs_text_inline( 'Apply on all sites in the network.', 'apply-on-all-sites-in-the-network', $slug );
$apply_checkbox_label = $require_license_key ?
fs_text_inline( 'Activate license on all pending sites.', 'activate-license-on-pending-sites-in-the-network', $slug ) :
fs_text_inline( 'Apply on all pending sites.', 'apply-on-pending-sites-in-the-network', $slug );
<input class="fs-apply-on-all-sites-checkbox" type="checkbox" value="true" checked><span><?php echo esc_html( $apply_checkbox_label ) ?></span>
<?php if ( ! $require_license_key ) : ?>
<td><a class="action action-allow" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
<?php if ( $show_delegation_option ) : ?>
<td><a class="action action-delegate" data-action-type="delegate" href="#"><?php fs_esc_html_echo_inline( 'delegate', 'delegate', $slug ) ?></a></td>
<?php if ( $fs->is_enable_anonymous() ) : ?>
<td><a class="action action-skip" data-action-type="skip" href="#"><?php echo strtolower( fs_esc_html_inline( 'skip', 'skip', $slug ) ) ?></a></td>
<div class="fs-sites-list-container">
<?php $site_props = array('uid', 'url', 'title', 'language') ?>
<?php foreach ( $sites as $site ) : ?>
<tr<?php if ( ! empty( $site['license_id'] ) ) {
echo ' data-license-id="' . esc_attr( $site['license_id'] ) . '"';
<?php if ( $require_license_key ) : ?>
<td><input type="checkbox" value="true" /></td>
<td class="blog-id"><span><?php echo esc_html( $site['blog_id'] ) ?></span>.</td>
<td width="600"><span><?php
$url = str_replace( 'http://', '', str_replace( 'https://', '', $site['url'] ) );
<?php foreach ($site_props as $prop) : ?>
<input class="<?php echo esc_attr( $prop ) ?>" type="hidden" value="<?php echo esc_attr($site[$prop]) ?>" />
<?php if ( ! $require_license_key ) : ?>
<td><a class="action action-allow selected" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
<?php if ( $show_delegation_option ) : ?>
<td><a class="action action-delegate" data-action-type="delegate" href="#"><?php fs_esc_html_echo_inline( 'delegate', 'delegate', $slug ) ?></a></td>
<?php if ( $fs->is_enable_anonymous() ) : ?>
<td><a class="action action-skip" data-action-type="skip" href="#"><?php echo strtolower( fs_esc_html_inline( 'skip', 'skip', $slug ) ) ?></a></td>