Changeset 405184
- Timestamp:
- 07/06/2011 03:03:07 AM (15 years ago)
- Location:
- hebrewdates/trunk
- Files:
-
- 2 edited
-
hebrewdate.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hebrewdates/trunk/hebrewdate.php
r259410 r405184 73 73 debug_print("Input content was |$content|, formatted as |$format|, from |$originalRequest|..."); 74 74 75 /* Once replaced, a date has <!-- HD -->prepended to it. This allows us to prevent an infinite loop since internally, we call functions to which we've been added as a filter */76 $doneAlready = strpos($content, " <!-- HD -->");75 /* Once replaced, a date has ‍‍ prepended to it. This allows us to prevent an infinite loop since internally, we call functions to which we've been added as a filter */ 76 $doneAlready = strpos($content, "‍‍"); 77 77 if(false !== $doneAlready) { return $content;} 78 78 … … 95 95 } 96 96 97 return " <!-- HD -->" . $outputDate;97 return "‍‍" . $outputDate; 98 98 } 99 99 -
hebrewdates/trunk/readme.txt
r259403 r405184 4 4 Tags: jewish, hebrew, dates, formatting 5 5 Requires at least: 2.0 6 Tested up to: 3. 07 Stable tag: 2. 0.36 Tested up to: 3.2 7 Stable tag: 2.1.0 8 8 9 9 This plugin allows WordPress to easily show Hebrew dates instead of (or in addition to) the standard Gregorian dates. No theme changes are required. … … 41 41 42 42 == Changelog == 43 44 = 2.1.0 = 45 46 * Support WP 3.2's TwentyEleven with its HTML comment escaping 43 47 44 48 = 2.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.