Changeset 142232
- Timestamp:
- 08/02/2009 06:23:55 PM (17 years ago)
- Location:
- nitwpress/trunk
- Files:
-
- 4 edited
-
nitwpress.php (modified) (1 diff)
-
nitwpress.swf (modified) (previous)
-
readme.txt (modified) (2 diffs)
-
twitter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nitwpress/trunk/nitwpress.php
r138201 r142232 6 6 Author: sakuratan 7 7 Author URI: http://sakuratan.biz/ 8 Version: 0.9.2. 28 Version: 0.9.2.3 9 9 */ 10 10 -
nitwpress/trunk/readme.txt
r138201 r142232 5 5 Requires at least: 2.7.0 6 6 Tested up to: 2.7.1 7 Stable tag: 0.9.2. 27 Stable tag: 0.9.2.3 8 8 9 9 A Twitter client widget. … … 22 22 23 23 == Changelog == 24 25 = 0.9.2.3 = 26 * Twitter API has a bug that returns broken HTML entities. This change fix the problem. 24 27 25 28 = 0.9.2.2 = -
nitwpress/trunk/twitter.php
r135413 r142232 27 27 */ 28 28 function nitwpress_twitter_xml_pickup($fh, $flagment, $elemnames) { 29 $repl = array('&lt;' => '<', '&gt;' => '>'); 29 30 foreach ($elemnames as $elem) { 30 31 if (preg_match(",<{$elem}>.*?</{$elem}>,s", $flagment, $matches)) { 31 fwrite($fh, $matches[0] . "\n"); 32 fwrite($fh, strtr($matches[0], $repl)); 33 fwrite($fh, "\n"); 32 34 } 33 35 }
Note: See TracChangeset
for help on using the changeset viewer.