Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/www/curators/wp-content/plugins/jetpack/_inc/ |
Upload File : |
/* global jQuery, jp_banner */
( function ( $ ) {
var wizardBanner = $( '#jp-wizard-banner' );
var wizardBannerDismiss = $( '.wizard-banner-dismiss' );
var personalButton = $( '#jp-wizard-banner-personal-button' );
var businessButton = $( '#jp-wizard-banner-business-button' );
var skipLink = $( '.jp-wizard-banner-wizard-skip-link' );
// Dismiss the wizard banner via AJAX
wizardBannerDismiss.on( 'click', function () {
$( wizardBanner ).hide();
var data = {
dismissBanner: true,
action: 'jetpack_wizard_banner',
nonce: jp_banner.wizardBannerNonce,
};
$.post( jp_banner.ajax_url, data, function ( response ) {
if ( true !== response.success ) {
$( wizardBanner ).show();
}
} );
} );
personalButton.on( 'click', function () {
$.post( jp_banner.ajax_url, {
personal: true,
action: 'jetpack_wizard_banner',
nonce: jp_banner.wizardBannerNonce,
} );
} );
businessButton.on( 'click', function () {
$.post( jp_banner.ajax_url, {
business: true,
action: 'jetpack_wizard_banner',
nonce: jp_banner.wizardBannerNonce,
} );
} );
skipLink.on( 'click', function () {
$.post( jp_banner.ajax_url, {
skip: true,
action: 'jetpack_wizard_banner',
nonce: jp_banner.wizardBannerNonce,
} );
} );
} )( jQuery );