WordPress.org

Plugin Directory

Changeset 430435


Ignore:
Timestamp:
08/29/11 22:08:16 (3 years ago)
Author:
wojtek.szkutnik
Message:

fixing eemails_wp_mail args

File:
1 edited

Legend:

Unmodified
Added
Removed
  • enhanced-emails/trunk/enhancedemails.php

    r428424 r430435  
    8080                dirname( __FILE__ ) . '/templates/', // The templates included with the plugin 
    8181        ) ); 
    82  
    8382        $templates = array(); 
    8483        foreach ( $directories as $dir ) { 
     
    147146    extract( $template_args, EXTR_SKIP ); 
    148147 
    149     $template = eemails_get_template($template); 
     148    $template = eemails_get_template($args['template-slug'], $args['template-event'], $args['template-name']); 
    150149    $html_email = ''; 
    151150    include( 'templates/layout.php' ); 
Note: See TracChangeset for help on using the changeset viewer.