Skip to content

Instantly share code, notes, and snippets.

@manjilab
Created November 13, 2009 17:29
Show Gist options
  • Save manjilab/234008 to your computer and use it in GitHub Desktop.
Save manjilab/234008 to your computer and use it in GitHub Desktop.
--- html/options.php.orig 2009-11-14 02:28:38.000000000 +0900
+++ html/options.php 2009-11-14 02:12:38.000000000 +0900
@@ -178,7 +178,7 @@
<label for="password"><?php _e( "Password", "wordtwit" ); ?></label>
</li>
<li>
- <input type="text" name="message" value="<?php echo( htmlentities( $settings['message'] ) ); ?>" class="long" />
+ <input type="text" name="message" value="<?php echo( htmlentities( $settings['message'], ENT_COMPAT, "UTF-8" ) ); ?>" class="long" />
<label for="message"><?php _e( "Message", "wordtwit" ); ?></label>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment