Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter amrsubzero

    (@amrsubzero)

    Then what is the point of setting a cookie if it’s being resetted everytime i visit a page which may be in different langs very often?

    If i’m on localhost/en/ cookie will be en if i visit localhost/ which is front-page it will reset and will be set to the other language e.g: ar.

    What i’ve done then to set the language to another language? using this logic may be useful if we lean on page views in other languages but not a full website language switcher.

    Nevermind.

    Thread Starter amrsubzero

    (@amrsubzero)

    Excluded wp-includes in Script Exclusion and the errors gone.

    we need to make it more simple to configure for example like a checkbox to exclude entire admin area?

    Thanks.

    Thread Starter amrsubzero

    (@amrsubzero)

    Errors in browser console on wp-login.php :

    
    Uncaught ReferenceError: wp is not defined @ wp-login.php?....
    

    Points to:

    
    wp.i18n.setLocaleData( localeData, domain );
    

    Plugin settings applied:

    
    - Enable Async JavaScript? (Checked)
    - Also enable Async JavaScript for logged in users? (Checked)
    - Also enable Async JavaScript on cart/ checkout pages? (Checked)
    
    - Async JavaScript Method (Defer)
    - jQuery (Exclude)
    
    - Async JavaScript For Plugins - Plugin: Autoptimize (Enabled) (Defer)
    

    Issue also happens with all plugins disabled but Async Javascript also on different themes.

    • This reply was modified 5 years, 7 months ago by amrsubzero.
Viewing 3 replies - 1 through 3 (of 3 total)