#27374 closed defect (bug) (fixed)
Notice in comments-template.php for HTTP_USER_AGENT
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 0.71 |
Component: | Comments | Keywords: | has-patch |
Focuses: | Cc: |
Description
This generates a notice when the user agent isn't set, on line 947 of comment-template.php currently:
if ( false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') ) return;
Simply checking whether HTTP_USER_AGENT is set would fix it, of course.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Comment Template Patch