diff --git a/src/wp-includes/atomlib.php b/src/wp-includes/atomlib.php index 271635fe45..4ec562c64b 100644 --- a/src/wp-includes/atomlib.php +++ b/src/wp-includes/atomlib.php @@ -313,7 +313,7 @@ class AtomParser { function ns_to_prefix($qname, $attr=false) { # split 'http://www.w3.org/1999/xhtml:div' into ('http','//www.w3.org/1999/xhtml','div') - $components = split(":", $qname); + $components = explode(":", $qname); # grab the last one (e.g 'div') $name = array_pop($components); diff --git a/src/wp-includes/rss.php b/src/wp-includes/rss.php index 548ccf2349..71146edc3c 100644 --- a/src/wp-includes/rss.php +++ b/src/wp-includes/rss.php @@ -114,7 +114,7 @@ class MagpieRSS { // check for a namespace, and split if found $ns = false; if ( strpos( $element, ':' ) ) { - list($ns, $el) = split( ':', $element, 2); + list($ns, $el) = explode( ':', $element, 2); } if ( $ns and $ns != 'rdf' ) { $this->current_namespace = $ns;