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/clone/wp-conte.../plugins/redux-fr.../redux-co.../assets/js/redux
File: init-fields.js
/* global redux */
[0] Fix | Delete
[1] Fix | Delete
(function( $ ) {
[2] Fix | Delete
'use strict';
[3] Fix | Delete
[4] Fix | Delete
$.redux = $.redux || {};
[5] Fix | Delete
[6] Fix | Delete
$.redux.initFields = function() {
[7] Fix | Delete
$( '.redux-group-tab:visible' ).find( '.redux-field-init:visible' ).each(
[8] Fix | Delete
function() {
[9] Fix | Delete
var tr;
[10] Fix | Delete
var th;
[11] Fix | Delete
[12] Fix | Delete
var type = $( this ).attr( 'data-type' );
[13] Fix | Delete
[14] Fix | Delete
if ( 'undefined' !== typeof redux.field_objects && redux.field_objects[type] && redux.field_objects[type] ) {
[15] Fix | Delete
redux.field_objects[type].init();
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
if ( ! redux.customizer && $( this ).hasClass( 'redux_remove_th' ) ) {
[19] Fix | Delete
tr = $( this ).parents( 'tr:first' );
[20] Fix | Delete
th = tr.find( 'th:first' );
[21] Fix | Delete
[22] Fix | Delete
if ( th.html() && th.html().length > 0 ) {
[23] Fix | Delete
$( this ).prepend( th.html() );
[24] Fix | Delete
$( this ).find( '.redux_field_th' ).css( 'padding', '0 0 10px 0' );
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
$( this ).parent().attr( 'colspan', '2' );
[28] Fix | Delete
[29] Fix | Delete
th.remove();
[30] Fix | Delete
}
[31] Fix | Delete
}
[32] Fix | Delete
);
[33] Fix | Delete
};
[34] Fix | Delete
})( jQuery );
[35] Fix | Delete
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function