: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
var notice = $('.wpmudev-recommended-plugins'),
selectorEl = notice.data('selectorEl'),
selectorFn = notice.data('selectorFn');
if ('' !== selectorEl && '' !== selectorFn) {
$.fn[selectorFn].call($(selectorEl), notice);
$('.wpmudev-recommended-plugins .dismiss').on('click', function (e) {
var pointer = $(this).data('pointer'),
action = $(this).data('action');
// ALWAYS CLOSE WHATEVER AJAX RESULT
// ALWAYS CLOSE EVEN AJAX NOT POSSIBLE
function removeNotice() {
$('.wpmudev-recommended-plugins').remove();