Changeset 1491 for trunk/wp-includes/template-functions-general.php
- Timestamp:
- 07/28/2004 02:43:54 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-general.php
r1460 r1491 99 99 function wp_title($sep = '»', $display = true) { 100 100 global $wpdb; 101 global $m, $year, $monthnum, $day, $cat, $p, $name, $month, $posts , $single;101 global $m, $year, $monthnum, $day, $cat, $p, $name, $month, $posts; 102 102 103 103 // If there's a category … … 129 129 130 130 // If there's a post 131 if ( $single) {131 if (is_single()) { 132 132 $title = strip_tags($posts[0]->post_title); 133 133 $title = apply_filters('single_post_title', $title);
Note: See TracChangeset
for help on using the changeset viewer.