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:
parent
6b6c2583a4
commit
27da8a122e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue