Make WordPress Core


Ignore:
Timestamp:
01/09/2012 09:20:51 PM (10 years ago)
Author:
duck_
Message:

split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r19712 r19726  
    30253025            continue;
    30263026        foreach( $val as $enc ) {
    3027             $enclosure = split( "\n", $enc );
     3027            $enclosure = explode( "\n", $enc );
    30283028            $pung[] = trim( $enclosure[ 0 ] );
    30293029        }
Note: See TracChangeset for help on using the changeset viewer.