WordPress.org

Plugin Directory

Changeset 455012 for feedwordpress


Ignore:
Timestamp:
10/24/11 11:45:35 (6 years ago)
Author:
radgeek
Message:

PHP5 / Avert some deprecation notices in PHP5.

Location:
feedwordpress/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • feedwordpress/trunk/admin-ui.php

    r413226 r455012  
    5151            $this->save_settings($post); 
    5252        endif; 
    53         do_action($this->dispatch.'_post', &$post, &$this);      
     53        do_action($this->dispatch.'_post', $post, $this);        
    5454    } 
    5555 
     
    8282 
    8383    function save_settings ($post) { 
    84         do_action($this->dispatch.'_save', &$post, &$this); 
     84        do_action($this->dispatch.'_save', $post, $this); 
    8585 
    8686        if ($this->for_feed_settings()) : 
  • feedwordpress/trunk/feedwordpress-content-type-sniffer.class.php

    r255623 r455012  
    1818 
    1919            foreach ($this->file->headers['content-type'] as $type) : 
    20                 $parts = array_map('trim', split(";", $type, 2)); 
     20                $parts = array_map('trim', explode(";", $type, 2)); 
    2121                if (isset($parts[1])) : 
    2222                    $type = $parts[0]; 
  • feedwordpress/trunk/feedwordpress_parser.class.php

    r405139 r455012  
    4141        if (substr($data, 0, 5) === '<?xml' && strspn(substr($data, 5, 1), "\x09\x0A\x0D\x20") && ($pos = strpos($data, '?>')) !== false) 
    4242        { 
    43             $declaration =& new SimplePie_XML_Declaration_Parser(substr($data, 5, $pos - 5)); 
     43            $declaration = new SimplePie_XML_Declaration_Parser(substr($data, 5, $pos - 5)); 
    4444            if ($declaration->parse()) 
    4545            { 
     
    9494        { 
    9595            libxml_clear_errors(); 
    96             $xml =& new XMLReader(); 
     96            $xml = new XMLReader(); 
    9797            $xml->xml($data); 
    9898            while (@$xml->read()) 
  • feedwordpress/trunk/syndicatedlink.class.php

    r455006 r455012  
    326326                'syndicated_feed_items', 
    327327                $this->simplepie->get_items(), 
    328                 &$this 
     328                $this 
    329329            ); 
    330330 
Note: See TracChangeset for help on using the changeset viewer.