Changeset 6364 for trunk/wp-includes/formatting.php
- Timestamp:
- 12/06/2007 07:49:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r6331 r6364 364 364 } 365 365 366 function convert_chars($content, $ flag = 'obsolete') {366 function convert_chars($content, $deprecated = '') { 367 367 // Translation of invalid Unicode references range to valid range 368 368 $wp_htmltranswinuni = array( … … 561 561 562 562 function format_to_post($content) { 563 global $wpdb;564 563 $content = apply_filters('format_to_post', $content); 565 564 return $content; … … 784 783 $hours = round($diff / 3600); 785 784 if ($hours <= 1) { 786 $hour = 1;785 $hours = 1; 787 786 } 788 787 $since = sprintf(__ngettext('%s hour', '%s hours', $hours), $hours); … … 798 797 799 798 function wp_trim_excerpt($text) { // Fakes an excerpt if needed 800 global $post;801 799 if ( '' == $text ) { 802 800 $text = get_the_content('');
Note: See TracChangeset
for help on using the changeset viewer.