Opened 13 years ago
Closed 13 years ago
#24903 closed defect (bug) (maybelater)
Data returned via wp_count_comments() should be handled properly on output
| Reported by: | jeremyfelt | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
There are a few cases in core where data returned from wp_count_comments() is used immediately to output without escaping it properly. While core provides the correct data types, a filter can be used to modify the data completely before it has a chance to do so. It makes sense to cast these as (int) when necessary.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This may be overkill. Ripe for reopening if not. :)