- Timestamp:
- Jun 8, 2009, 5:55:59 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r253 r262 16 16 $output .= ob_get_contents(); 17 17 ob_end_clean(); 18 19 if(function_exists('the_title_attribute')){ 20 $title = the_title_attribute('echo=0'); 21 } else { 22 ob_start(); 23 the_title(); 24 $title = ob_get_contents(); 25 ob_end_clean(); 26 } 18 27 19 28 $output .= '" rel="bookmark" title="'; 20 $output .= sprintf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0'));29 $output .= sprintf(__('Permanent Link to %s', 'xpress'), $title); 21 30 $output .= '">'; 22 ob_start(); 23 the_title(); 24 $output .= ob_get_contents(); 25 ob_end_clean(); 31 $output .= $title; 26 32 $output .= '</a></h2>' . "\n"; 27 33 $output .= '</div>' . "\n"; -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/functions_for_wp20.php
r252 r262 248 248 } 249 249 250 // ADD WP 2.1.0 251 function 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 256 function 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 250 265 /** 251 266 * @ignore
Note: See TracChangeset
for help on using the changeset viewer.