Plugin Directory

Changeset 405184


Ignore:
Timestamp:
07/06/2011 03:03:07 AM (15 years ago)
Author:
mikeage
Message:

Support WP 3.2s TwentyEleven

Location:
hebrewdates/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hebrewdates/trunk/hebrewdate.php

    r259410 r405184  
    7373    debug_print("Input content was |$content|, formatted as |$format|, from |$originalRequest|...");
    7474
    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 &zwj;&zwj; 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, "&zwj;&zwj;");
    7777    if(false !== $doneAlready) { return $content;}
    7878
     
    9595    }
    9696
    97     return "<!-- HD -->" . $outputDate;
     97    return "&zwj;&zwj;" . $outputDate;
    9898}
    9999
  • hebrewdates/trunk/readme.txt

    r259403 r405184  
    44Tags: jewish, hebrew, dates, formatting
    55Requires at least: 2.0
    6 Tested up to: 3.0
    7 Stable tag: 2.0.3
     6Tested up to: 3.2
     7Stable tag: 2.1.0
    88
    99This plugin allows WordPress to easily show Hebrew dates instead of (or in addition to) the standard Gregorian dates. No theme changes are required.
     
    4141
    4242== Changelog ==
     43
     44= 2.1.0 =
     45
     46* Support WP 3.2's TwentyEleven with its HTML comment escaping
    4347
    4448= 2.0.3 =
Note: See TracChangeset for help on using the changeset viewer.