Uname: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Software: Apache
PHP version: 5.4.45 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.91.62
Your Ip: 216.73.216.52
User: matthif (139342) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : ask-review-notice.js
import $ from 'jquery';

const { ajaxurl, VPAskReviewNotice } = window;
const $body = $('body');

$body.on('click', '.vpf-review-plugin-notice-dismiss', function (e) {
	const $this = $(this);
	const type = $this.attr('data-vpf-review-action');

	// Don't prevent click on Yes link, as it is URL for rate.
	if (type !== 'yes') {
		e.preventDefault();
	}

	// Hide notice.
	$this.closest('.notice').slideUp('slow');

	// Save user answer in DB.
	$.post(ajaxurl, {
		action: 'vpf_dismiss_ask_review_notice',
		type,
		nonce: VPAskReviewNotice.nonce,
	});
});
© 2026 XylotrechusZ