diff --git wp-admin/network/edit.php wp-admin/network/edit.php
index 1e06e49..1025eaa 100644
--- wp-admin/network/edit.php
+++ wp-admin/network/edit.php
@@ -110,7 +110,7 @@ switch ( $_GET['action'] ) {
if ( is_email( $_POST['admin_email'] ) )
update_site_option( 'admin_email', $_POST['admin_email'] );
- $illegal_names = split( ' ', $_POST['illegal_names'] );
+ $illegal_names = explode( ' ', $_POST['illegal_names'] );
foreach ( (array) $illegal_names as $name ) {
$name = trim( $name );
if ( $name != '' )
@@ -120,7 +120,7 @@ switch ( $_GET['action'] ) {
if ( $_POST['limited_email_domains'] != '' ) {
$limited_email_domains = str_replace( ' ', "\n", $_POST['limited_email_domains'] );
- $limited_email_domains = split( "\n", stripslashes( $limited_email_domains ) );
+ $limited_email_domains = explode( "\n", stripslashes( $limited_email_domains ) );
$limited_email = array();
foreach ( (array) $limited_email_domains as $domain ) {
$domain = trim( $domain );
@@ -133,7 +133,7 @@ switch ( $_GET['action'] ) {
}
if ( $_POST['banned_email_domains'] != '' ) {
- $banned_email_domains = split( "\n", stripslashes( $_POST['banned_email_domains'] ) );
+ $banned_email_domains = explode( "\n", stripslashes( $_POST['banned_email_domains'] ) );
$banned = array();
foreach ( (array) $banned_email_domains as $domain ) {
$domain = trim( $domain );
diff --git wp-admin/press-this.php wp-admin/press-this.php
index aa4eb47..3e5e1de 100644
--- wp-admin/press-this.php
+++ wp-admin/press-this.php
@@ -381,12 +381,12 @@ var photostorage = false;
';
} elseif ( preg_match("/vimeo\.com\/[0-9]+/i", $url) ) {
- list($domain, $video_id) = split(".com/", $url);
+ list($domain, $video_id) = explode(".com/", $url);
$video_id = esc_attr($video_id);
$content = '';
diff --git wp-includes/class-wp-xmlrpc-server.php wp-includes/class-wp-xmlrpc-server.php
index 5e9bbd4..40c5b38 100644
--- wp-includes/class-wp-xmlrpc-server.php
+++ wp-includes/class-wp-xmlrpc-server.php
@@ -2735,7 +2735,7 @@ class wp_xmlrpc_server extends IXR_Server {
foreach ( (array) get_post_custom($post_ID) as $key => $val) {
if ($key == 'enclosure') {
foreach ( (array) $val as $enc ) {
- $encdata = split("\n", $enc);
+ $encdata = explode("\n", $enc);
$enclosure['url'] = trim(htmlspecialchars($encdata[0]));
$enclosure['length'] = (int) trim($encdata[1]);
$enclosure['type'] = trim($encdata[2]);
diff --git wp-includes/feed.php wp-includes/feed.php
index b94e347..ec68221 100644
--- wp-includes/feed.php
+++ wp-includes/feed.php
@@ -423,7 +423,7 @@ function atom_enclosure() {
foreach ( (array) get_post_custom() as $key => $val ) {
if ($key == 'enclosure') {
foreach ( (array) $val as $enc ) {
- $enclosure = split("\n", $enc);
+ $enclosure = explode("\n", $enc);
echo apply_filters('atom_enclosure', '' . "\n");
}
}
diff --git wp-includes/kses.php wp-includes/kses.php
index aea7aa8..afdea53 100644
--- wp-includes/kses.php
+++ wp-includes/kses.php
@@ -1404,7 +1404,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
if ( strpos( $css_item, ':' ) === false ) {
$found = true;
} else {
- $parts = split( ':', $css_item );
+ $parts = explode( ':', $css_item );
if ( in_array( trim( $parts[0] ), $allowed_attr ) )
$found = true;
}
diff --git wp-includes/pluggable.php wp-includes/pluggable.php
index 4082340..a8d8a7b 100644
--- wp-includes/pluggable.php
+++ wp-includes/pluggable.php
@@ -1740,8 +1740,8 @@ function wp_text_diff( $left_string, $right_string, $args = null ) {
$left_string = normalize_whitespace($left_string);
$right_string = normalize_whitespace($right_string);
- $left_lines = split("\n", $left_string);
- $right_lines = split("\n", $right_string);
+ $left_lines = explode("\n", $left_string);
+ $right_lines = explode("\n", $right_string);
$text_diff = new Text_Diff($left_lines, $right_lines);
$renderer = new WP_Text_Diff_Renderer_Table();
diff --git wp-includes/post.php wp-includes/post.php
index 3c3759e..e5dd986 100644
--- wp-includes/post.php
+++ wp-includes/post.php
@@ -2996,7 +2996,7 @@ function get_enclosed($post_id) {
if ( 'enclosure' != $key || !is_array( $val ) )
continue;
foreach( $val as $enc ) {
- $enclosure = split( "\n", $enc );
+ $enclosure = explode( "\n", $enc );
$pung[] = trim( $enclosure[ 0 ] );
}
}