Opened 12 years ago
Closed 12 years ago
#23744 closed defect (bug) (fixed)
PHP notice on a custom post type archive with default permalinks enabled
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Warnings/Notices | Keywords: | has-patch |
Focuses: | Cc: |
Description
Notice: Undefined index: feeds in /Users/ericlewis/Sites/wordpress-trunk/wp-includes/link-template.php on line 871
Looks like something to do with the way the post type object is set up by default with default permalinks enabled.
Attachments (2)
Change History (5)
#1
@
12 years ago
- Component changed from Feeds to Warnings/Notices
- Milestone changed from Awaiting Review to 3.6
- Version changed from trunk to 3.1
#2
@
12 years ago
23744.2.patch reorders the conditions in the same way as in get_post_type_archive_link()
:
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/link-template.php#L840
Note: See
TracTickets for help on using
tickets.
Change boolean check to empty()