HEX
Server: Apache/2
System: Linux localhost 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
User: rasad (1007)
PHP: 7.4.33
Disabled: shell_exec,system,passthru,exec,popen,ini_restore,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_bind,symlink,link,pfsockopen,ini_alter,dl,pcntl_exec,pcntl_fork,proc_close,proc_open,proc_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_uname,show_source,getfile,mkfifo
Upload Files
File: /home/rasad/public_html/wp-content/plugins/wp-persian/assets/js/wp-persian.js
// JavaScript Document
jQuery(document).ready(function() {
	
    if (jQuery("select[name='wpp_adminpanel_locale']").val()=="fa_IR")
    {
        jQuery("input[name='wpp_adminpanel_context']").closest("tr").hide();
        jQuery("input[name='wpp_adminpanel_context']").attr('checked',false);
    }
    //jQuery("select[name='WPLANG']").val('');
    jQuery("select[name='WPLANG']").closest("tr").hide();

    jQuery("select[name='wpp_adminpanel_locale']").change(function(){
        if (jQuery(this).val()=="fa_IR") {
            jQuery("input[name='wpp_adminpanel_context']").closest("tr").hide();
            jQuery("input[name='wpp_adminpanel_context']").attr('checked',false);

        }else
            jQuery("input[name='wpp_adminpanel_context']").closest("tr").show();

    });
});// ready Document