WordPress.org

Make WordPress Core

Ticket #16325: rss-#16325.diff

File rss-#16325.diff, 465 bytes (added by j_schumann, 3 years ago)

replace split() in wp-includes/rss.php, all other occurences seem to be coverd in the previous attachments

  • wp-includes/rss.php

     
    101101                // check for a namespace, and split if found 
    102102                $ns     = false; 
    103103                if ( strpos( $element, ':' ) ) { 
    104                         list($ns, $el) = split( ':', $element, 2); 
     104                        list($ns, $el) = explode( ':', $element, 2); 
    105105                } 
    106106                if ( $ns and $ns != 'rdf' ) { 
    107107                        $this->current_namespace = $ns;