Skip to content

Commit f7345eb

Browse files
committed
wp_htmledit_pre for salts in wp-admin/network. fixes #15092.
git-svn-id: https://develop.svn.wordpress.org/trunk@15965 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f48506b commit f7345eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-admin/network.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function network_step2( $errors = false ) {
361361
echo _n( 'This unique authentication key is also missing from your <code>wp-config.php</code> file.', 'These unique authentication keys are also missing from your <code>wp-config.php</code> file.', $num_keys_salts ); ?> <?php _e( 'To make your installation more secure, you should also add:' ) ?></p>
362362
<textarea class="code" readonly="readonly" cols="100" rows="<?php echo $num_keys_salts; ?>"><?php
363363
foreach ( $keys_salts as $c => $v ) {
364-
echo "\ndefine( '$c', '$v' );";
364+
echo "\ndefine( '$c', '" . wp_htmledit_pre( $v ) . "' );";
365365
}
366366
?></textarea>
367367
<?php

0 commit comments

Comments
 (0)