Changeset 5005
- Timestamp:
- 03/09/2007 04:13:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r5004 r5005 215 215 // If there is a post 216 216 if ( is_single() || is_page() ) { 217 $title = strip_tags($wp_query->get_queried_object()->post_title); 217 $post = $wp_query->get_queried_object(); 218 $title = strip_tags($post->post_title); 218 219 $title = apply_filters('single_post_title', $title); 219 220 }
Note: See TracChangeset
for help on using the changeset viewer.