Changeset 262 for trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
- Timestamp:
- Jun 8, 2009, 5:55:59 PM (16 years ago)
- File:
-
- 1 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";
Note: See TracChangeset
for help on using the changeset viewer.