Sunday, June 5, 2022
HomeWordPress DevelopmentWordpress (pagenow hyperlink) in ajaxurl change after i alter plugin language

WordPress (pagenow hyperlink) in ajaxurl change after i alter plugin language


i am working in plugin, and when i alter the plugin language the URL of ajax url is change
so how i can repair it? Or what ought to i take advantage of inested?

right here is instance:

Earlier than Change plugin language:

    <title>Model Settings &lsaquo;</title>
    <script sort="textual content/javascript">
    addLoadEvent = operate(func){if(typeof jQuery!=='undefined')jQuery(operate(){func();});else if(typeof wpOnload!=='operate'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=operate(){oldonload();func();}}};
    var ajaxurl="/wp-admin/admin-ajax.php",
        pagenow = 'sobex-tech_page_sobex-tech-style',
        typenow = '',
        adminpage="sobex-tech_page_sobex-tech-style",
        thousandsSeparator=",",
        decimalPoint=",",
        isRtl = 1;
    </script>

after Change:

<title>تنظیمات استایل &lsaquo;</title>
<script sort="textual content/javascript">
addLoadEvent = operate(func){if(typeof jQuery!=='undefined')jQuery(operate(){func();});else if(typeof wpOnload!=='operate'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=operate(){oldonload();func();}}};
var ajaxurl="/wp-admin/admin-ajax.php",
    pagenow = '%d8percentb3percentd8percenta7percentd8percenta8percentdapercenta9percentd8percentb3-%d8percentaapercentdapercenta9_page_sobex-tech-style',
    typenow = '',
    adminpage="-d8-b3-d8-a7-d8-a8-da-a9-d8-b3--d8-aa-da-a9_page_sobex-tech-style",
    thousandsSeparator=",",
    decimalPoint=",",
    isRtl = 1;
</script>

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments