• Resolved Allprowebworks

    (@allprowebworks)


    See affiliates-manager/source/Pages/AffiliatesRegister.php line 93:

    //Notify affiliate of their application
    $affsubj  = sprintf(__('Affiliate application for %s', 'affiliates-manager' ), $blogname);

    However, $blogname is only defined if admin registration notification is enabled. See line 74:

    if(get_option(WPAM_PluginConfig::$SendAdminRegNotification) == 1){
      //Notify admin that affiliate has registered
      $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
      ...
    }

    I believe $blogname should be defined outside this condition so it is available for the affiliate application submitted email notification subject.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notification bug fix’ is closed to new replies.