HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/themes/jupiterx/lib/assets/dist/js/core-install.js
'use strict';

(function ($, wp) {

  var $notice = $('.jupiterx-core-install-notice');

  /**
   * Hide admin notice after dismissed by user.
   */
  $(document).on('click', $notice.selector + ' .notice-dismiss', function () {
    var data = {
      _wpnonce: $('#jupiterx-core-installer-notice-nonce').val(),
      state: 'disabled'
    };

    wp.ajax.post('jupiterx_core_install_plugin_notice', data);

    $notice.slideUp();
  });
})(jQuery, wp);