• Resolved megamurmulis

    (@megamurmulis)


    ##PLUGIN: Easy MailChimp Forms
    ##Version: Version: 5.0.9
    ##FILE: /yikes-inc-easy-mailchimp-extender/class/classes.yksemeBase.php

    #1. “wp_print_*” is for inline script/style, so these hooks:
    wp_print_styles and wp_print_scripts
    Need to be:
    wp_enqueue_styles and wp_enqueue_scripts

    #2. There are few places where screen base is used to check for script output: $screen_base = get_current_screen()->base;
    Problem: when WPLANG is set (i.e. “es_ES”) = for whatever reason base is localized and different from english base:

    en:   mailchimp-forms_page_yks-mailchimp-form-lists
    es:  formas-mailchimp_page_yks-mailchimp-form-lists

    (~I wasn’t yet able to find where “mailchimp-forms” part gets localized to “formas-mailchimp”..)

    So of course – “if” code fails and scripts not added (function addScripts() ):
    if ( $screen_base == 'mailchimp-forms_page_yks-mailchimp-form-lists' )

    https://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi megamurmulis,

    Thanks for pointing out the localization issue with the base name of the plugin. We actually have noticed this issue before and have it resolved in the latest release we plan to release soon. The issue with wp_print_styles has also been addressed in the upcoming release.

    You can find the beta version over on our github page for the plugin.

    Thanks,
    Evan

    Plugin Author Evan Herman

    (@eherman24)

    version 5.1 has been released and should help resolve some of the issue that you have mentioned above.

    Thanks,
    Evan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Script not included when using non-english WPLANG’ is closed to new replies.