diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php
index 59f178f283..3da429b194 100644
--- a/wp-admin/network/settings.php
+++ b/wp-admin/network/settings.php
@@ -51,17 +51,17 @@ if ( $_POST ) {
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 != '' )
$names[] = trim( $name );
- }
+ }
update_site_option( 'illegal_names', $names );
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 );
@@ -70,11 +70,11 @@ if ( $_POST ) {
}
update_site_option( 'limited_email_domains', $limited_email );
} else {
- update_site_option( 'limited_email_domains', '' );
+ update_site_option( 'limited_email_domains', '' );
}
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 a/wp-admin/press-this.php b/wp-admin/press-this.php
index 2d2d88c5ef..60fd1bcc17 100644
--- a/wp-admin/press-this.php
+++ b/wp-admin/press-this.php
@@ -351,12 +351,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 a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php
index be6ef4d185..e87934a743 100644
--- a/wp-includes/class-wp-xmlrpc-server.php
+++ b/wp-includes/class-wp-xmlrpc-server.php
@@ -2832,7 +2832,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 a/wp-includes/feed.php b/wp-includes/feed.php
index e09afcfc83..988f6b22c6 100644
--- a/wp-includes/feed.php
+++ b/wp-includes/feed.php
@@ -424,7 +424,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 a/wp-includes/kses.php b/wp-includes/kses.php
index f618a981a6..2acb45c795 100644
--- a/wp-includes/kses.php
+++ b/wp-includes/kses.php
@@ -1401,7 +1401,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 a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 4eb43155a2..030e4535d9 100644
--- a/wp-includes/pluggable.php
+++ b/wp-includes/pluggable.php
@@ -1706,8 +1706,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 a/wp-includes/post.php b/wp-includes/post.php
index 1505a816f9..458ad9e83e 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -3024,7 +3024,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 ] );
}
}