• a nice plugin with WooCommerce code standard!

    suggestions:
    —————
    1. adding i18n support

    add_action('plugins_loaded','wc_whu_i18n');
    function wc_whu_i18n(){
    
        load_plugin_textdomain( 'woocommerce-hear-about-us', false, dirname( plugin_basename( __FILE__ ) ) . '/i18n/languages/' );
    
    }

    2. fixing an i18n bug
    'desc' => 'Manage the "where did you hear about us" options.',
    should be:
    'desc' => __('Manage the "where did you hear about us" options.','woocommerce-hear-about-us'),

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

    (@siteoptimo)

    Hi suifengtec,

    Thank you very much for your valuable feedback!

    You are absolutely right, these things must have slipped our minds. As soon as we saw your review, we made the changes and included this fix in the version 1.0.1 release. You rock!

    Cheers,
    SiteOptimo Team

    Thread Starter suifengtec

    (@suifengtec)

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘a nice plugin with WooCommerce code standard!’ is closed to new replies.