WordPress.org

Plugin Directory

Changeset 428881


Ignore:
Timestamp:
08/26/11 05:40:54 (3 years ago)
Author:
dd32
Message:

Remove Call-time pass-by-reference to prevent Notices. Props dajense. See http://wordpress.org/support/topic/deprecated-function-and-characters-not-properly-escaped

Location:
add-from-server/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • add-from-server/trunk/class.add-from-server-settings.php

    r398800 r428881  
    22class add_from_server_settings { 
    33    var $main; // main Add From Server instance. 
    4     function __construct($afs) { 
     4    function __construct( &$afs ) { 
    55        $this->main = $afs; 
    66    } 
    7      
     7 
    88    function render() { 
    99        echo '<div class="wrap">'; 
  • add-from-server/trunk/class.add-from-server.php

    r399094 r428881  
    135135 
    136136        include 'class.add-from-server-settings.php'; 
    137         $this->settings = new add_from_server_settings(&$this); 
     137        $this->settings = new add_from_server_settings($this); 
    138138        $this->settings->render(); 
    139139    } 
Note: See TracChangeset for help on using the changeset viewer.