Opened 18 years ago
Closed 18 years ago
#4506 closed defect (bug) (fixed)
"Posts Tagged xxx" In Archives In Default Theme Doesn't Show Tag Name
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.3 | Priority: | high |
Severity: | normal | Version: | 2.3 |
Component: | Template | Keywords: | has-patch |
Focuses: | Cc: |
Description
Click a tag under a post. The tag is missing from the title.
Posts Tagged ‘’
Simply put, single_cat_title()
isn't outputting the tag name.
Attachments (4)
Change History (11)
#2
in reply to:
↑ 1
@
18 years ago
Replying to pishmishy:
I think the problem is that single_cat_title() is meant to output the tag name.
Sorry that really wasn't clear. What I meant is that single_cat_title() isn't meant to output the tag name and there probably should be an equivalent single_cat_title().
#3
@
18 years ago
- Keywords has-patch added; needs-patch removed
I ran into problems writing the single_tag_title() function. I'm not entirely sure what purpose
$value = sanitize_title($field);
served in taxonomy.php and it appeared to me to break that particular function when searching based on a slug.
#5
@
18 years ago
I added a patch for the single_cat_title() function in wp-includes/general-template.php.
I haven't tested it fully but it seems to work.
I think the problem is that single_cat_title() is meant to output the tag name.