Permalink
Browse files

Fixed a bug related to IIS 7.5 and uniqid() in issue #97

  • Loading branch information...
1 parent cb73b1d commit 18a0c4bdccc5fd32e86911eebf270edb2cec615c @aramk committed Jun 2, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 crayon_wp.class.php
  2. +1 −0 readme.txt
View
@@ -502,7 +502,7 @@ public static function the_posts($posts) {
}
private static function add_crayon_id($content) {
- $uid = $content[0] . '-' . uniqid();
+ $uid = $content[0] . '-' . str_replace('.','',uniqid('',true));
CrayonLog::debug('add_crayon_id ' . $uid);
return $uid;
}
View
@@ -257,6 +257,7 @@ Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.
* Forced LTR for Crayon CSS, preventing the line numbers from appearing on the right
* Added unhighlighted colour to theme editor and existing dark themes
* New theme inputs not present in the loaded theme are added during save
+ * Fixed a bug related to IIS 7.5 and uniqid(): https://github.com/aramkocharyan/crayon-syntax-highlighter/issues/97
= 2.2.1 =
* ADDED:

0 comments on commit 18a0c4b

Please sign in to comment.