Title: What does &#039;function split () is deprecated in rss.php&#039; mean?
Last modified: August 19, 2016

---

# What does 'function split () is deprecated in rss.php' mean?

 *  [demonboy](https://wordpress.org/support/users/demonboy/)
 * (@demonboy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/what-does-function-split-is-deprecated-in-rssphp-mean/)
 * I’m developing locally and have php alerts switched on. In this case, however,
   this alert might have something to do with the equivalent live page not loading
   properly.
 * The message, which is repeated many times, is:
 * >  Deprecated: Function split() is deprecated in /var/www/wordpress/wp-includes/
   > rss.php on line 104
 * The only thing I can glean from searches is that is has something to do with 
   finding urls, which makes sense because I’m trying to import external RSS feeds,
   specifically Yahoo Pipes created feeds. The code I’m using is thus:
 *     ```
       <div class="leftbox">
               <h1>Latest Headlines</h1>
       			 <p class="body">
                 <?php require_once (ABSPATH . WPINC . '/rss-functions.php');
       				$url = 'http://pipes.yahoo.com/pipes/pipe.run?_id=4cd6162ea0e737ab94914945ef823ea0&_render=rss';
       				$rss = fetch_rss( $url );
       				if ( $rss ) {
       				$i = 1;
       				foreach ($rss->items as $item) {
       				$href = $item['link'];
       				$title = $item['title'];
       				$description = $item['description'];
       				$pubdate = $item['pubdate'];
       				$pubdate = substr($item['pubdate'], 0, 16);
       				echo "<p class='body'><h1><a href="$href">$title</a></h1>$pubdate$description<a href="$href">[link to article]</a></p>";
       				if ($i == 5 ) break;
       				$i = $i + 1;
       				}
       				}
       		?>
       			 </p>
               </div>
       ```
   
 * Does anyone have any clues as to what’s going on here? Thanks in advance.

Viewing 1 replies (of 1 total)

 *  [Tatoon](https://wordpress.org/support/users/tatoon/)
 * (@tatoon)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/what-does-function-split-is-deprecated-in-rssphp-mean/#post-2009985)
 * In the file rss.php (/var/www/wordpress/wp-includes/rss.php), change the line:
   `
   list($ns, $el) = split( ':', $element, 2);` on this line: `list($ns, $el) = explode(':',
   $element, 2);`

Viewing 1 replies (of 1 total)

The topic ‘What does 'function split () is deprecated in rss.php' mean?’ is closed
to new replies.

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)
 * [Yahoo Pipes](https://wordpress.org/support/topic-tag/yahoo-pipes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Tatoon](https://wordpress.org/support/users/tatoon/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/what-does-function-split-is-deprecated-in-rssphp-mean/#post-2009985)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
