Changeset 10483
- Timestamp:
- 01/30/2016 09:41:49 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/classes/class-bp-email.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-email.php
r10482 r10483 737 737 // Load the template. 738 738 bp_locate_template( bp_email_get_template( $this->post_object ), true, false ); 739 $this-> template( ob_get_contents() );739 $this->set_template( ob_get_contents() ); 740 740 741 741 ob_end_clean(); … … 930 930 // BCC, CC, and token properties are optional. 931 931 if ( 932 ! $this->get ( 'from') ||933 ! $this->get ( 'to') ||934 ! $this->get ( 'subject') ||935 ! $this->get ( 'content') ||936 ! $this->get ( 'template')932 ! $this->get_from() || 933 ! $this->get_to() || 934 ! $this->get_subject() || 935 ! $this->get_content() || 936 ! $this->get_template() 937 937 ) { 938 938 $retval = new WP_Error( 'missing_parameter', __CLASS__, $this );
Note: See TracChangeset
for help on using the changeset viewer.