#29704 closed defect (bug) (fixed)
wp_ajax_replyto_comment does not define $comment_type before compact()
| Reported by: | nerrad | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Comments | Version: | 4.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
In the wp_ajax_replyto_comment() ajax action callback (wp-admin/includes/ajax-actions.php) compact is called with comment_type as a param. However the variable $comment_type is not defined anywhere. This leads to potential undefined index errors down the chain when it is assumed $commentdata has 'comment_type' ) set.
Patch coming.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
define $comment_type