HEX
Server: Apache
System: Linux ebs-147252 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64
User: jumuhardware (65594)
PHP: 8.2.20
Disabled: link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork
Upload Files
File: /home/wwwroot/jumuhardware/wwwroot/wp-content/plugins/yoast-test-helper/assets/js/yoast-toggle.js
var Yoast_Plugin_Toggler = {
	toggle_plugin: function( group, plugin, nonce ) {
		"use strict";

		jQuery.getJSON(
			ajaxurl,
			{
				action: "toggle_plugin",
				ajax_nonce: nonce,
				group: group,
				plugin: plugin
			},
			function( response ) {
				if ( response.activated_plugin !== undefined ) {
					window.location.reload(true);
				}
			}
		);

		return true;
	}
};