: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @copyright Copyright (c) 2015, Freemius, Inc.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
if ( ! defined( 'ABSPATH' ) ) {
<script type="text/javascript">
$( document ).ready(function() {
var $parent = $( '.fs-notice, #fs_connect, .fs-modal' );
$parent.on( 'click', '.fs-api-request-error-show-details-link', function () {
var $error_details_container = $parent.find( '.fs-api-request-error-details' );
$error_details_container.toggle();
$( this ).find( 'span' ).prop( 'class',
$error_details_container.is( ':visible' ) ?
'dashicons dashicons-arrow-up-alt2' :
'dashicons dashicons-arrow-down-alt2'