mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -654,7 +654,7 @@ function post_type_archive_title() {
|
||||
if ( ! is_post_type_archive() )
|
||||
return;
|
||||
|
||||
|
||||
|
||||
$post_type_obj = get_post_type_object( get_query_var( 'post_type' ) );
|
||||
$title = apply_filters('post_type_archive_title', $post_type_obj->labels->name );
|
||||
|
||||
@@ -663,7 +663,7 @@ function post_type_archive_title() {
|
||||
else
|
||||
return $title;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Display or retrieve page title for category archive.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user