Skip to:
Content

bbPress.org

Opened 6 months ago

#3649 assigned defect (bug)

Improvements to bbp_validate_reply_to

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.5.4
Component: Component - Replies Keywords: needs-patch
Cc:

Description

The bbp_validate_reply_to() function frequently accepts values straight from user input, but without performing some of the more basic validations like is_numeric() or checking that the IDs are not negative numbers.

Given that "validation" is in the function name, it seems like an opportunity to make it more powerful and remove some duplication from where it is currently used.

Change History (0)

Note: See TracTickets for help on using tickets.