Optionally pass BBC params to validate function - If a BBCode's validate function is written to accept a fourth parameter, it can receive the final, calculated values of the $params array. This is especially useful if the values the user entered for the BBCode's parameters are required in the validate function. - If a BBCode's validate function does not expect the fourth parameter, it will of course be ignored by PHP. So this is fully backwards compatible.
Optionally pass BBC params to validate function
- If a BBCode's validate function is written to accept a fourth parameter, it can receive the final, calculated values of the $params array. This is especially useful if the values the user entered for the BBCode's parameters are required in the validate function.
- If a BBCode's validate function does not expect the fourth parameter, it will of course be ignored by PHP. So this is fully backwards compatible.

Signed-off-by: Jon Stovell <5fe09b7d9f00fd95250ae2a73993b352b084988d@gmail.com>

StealthWombat/SMF2.1-more-forkery,StealthWombat/SMF2.1-more-forkery