Ticket #18614: patches-post-type-archive-title.diff
File patches-post-type-archive-title.diff, 486 bytes (added by , 13 years ago) |
---|
-
wp-includes/general-template.php
661 661 if ( ! is_post_type_archive() ) 662 662 return; 663 663 664 $post_type_obj = get_ queried_object();664 $post_type_obj = get_post_type_object( get_post_type() ); 665 665 $title = apply_filters('post_type_archive_title', $post_type_obj->labels->name ); 666 666 667 667 if ( $display )