Cast before implode. fixes #15167.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-20 14:22:47 +00:00
parent 6b6c2583a4
commit 27da8a122e
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ if (isset($_GET['updated'])) {
<tr valign="top">
<th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th>
<td>
<input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", get_site_option( 'illegal_names' ) ) ); ?>" size="45" />
<input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", (array) get_site_option( 'illegal_names' ) ) ); ?>" size="45" />
<br />
<?php _e( 'Users are not allowed to register these sites. Separate names by spaces.' ) ?>
</td>