﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
19035	PHP notices caused by assumption about get_queried_object()	johnbillion		"`post_type_archive_title()` is used in `wp_title()` to produce the title for post type archives. The function assumes that `get_queried_object()` will return the post type object for the current post type archive, but this isn't always the case.

Example: When viewing `example.com/my_post_type/?my_taxonomy=my_term`, the return value of `get_queried_object()` is the term object, not the post type object. This causes a PHP notice when `post_type_archive_title()` attempts to access the label for the post type object, and results in a blank title.

Not sure where best to fix this."	defect (bug)	closed	normal		Template	3.3	normal	duplicate		
