WordPress.org

Make WordPress Core

Changeset 356 in tests


Ignore:
Timestamp:
05/23/2011 09:48:15 AM (7 years ago)
Author:
westi
Message:

Make some things protected rather than private so we can test our mail functions like we did before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testlib/class-phpmailer.php

    r355 r356  
    308308
    309309  private   $smtp           = NULL;
    310   private   $to             = array();
    311   private   $cc             = array();
    312   private   $bcc            = array();
     310  protected   $to             = array();
     311  protected   $cc             = array();
     312  protected   $bcc            = array();
    313313  private   $ReplyTo        = array();
    314314  private   $all_recipients = array();
     
    12941294   * @return void
    12951295   */
    1296   private function SetMessageType() {
     1296  protected function SetMessageType() {
    12971297    if(count($this->attachment) < 1 && strlen($this->AltBody) < 1) {
    12981298      $this->message_type = 'plain';
Note: See TracChangeset for help on using the changeset viewer.