XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 8, 2009, 5:55:59 PM (15 years ago)
Author:
toemon
Message:

#137 WordPressME2.0.11への対応(ブロックの対応)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/functions_for_wp20.php

    r252 r262  
    248248} 
    249249 
     250// ADD WP 2.1.0 
     251function the_modified_date($d = '') { 
     252        echo apply_filters('the_modified_date', get_the_modified_date($d), $d); 
     253} 
     254 
     255// ADD WP 2.1.0 
     256function get_the_modified_date($d = '') { 
     257        if ( '' == $d ) 
     258                $the_time = get_post_modified_time(get_option('date_format')); 
     259        else 
     260                $the_time = get_post_modified_time($d); 
     261        return apply_filters('get_the_modified_date', $the_time, $d); 
     262} 
     263 
     264 
    250265/** 
    251266 * @ignore 
Note: See TracChangeset for help on using the changeset viewer.