#4294 closed defect (bug) (fixed)
func_get_args() can’t be used as a function parameter
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | blocker | Version: | 1.6 |
Component: | Core | Keywords: | needs-patch |
Cc: |
Description
PHP 5.3+ supports using func_get_args() as a function parameter, but PHP 5.2.x doesn't. Simple to fix (store result in a variable, then pass that to the function).
func_get_args(): Can’t be used as a function parameter in /home/valuser/public_html/mydomain.com/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php 138
See also similar bug report on Drupal: http://drupal.org/node/1411592
Change History (6)
Note: See
TracTickets for help on using
tickets.
(In [6131]) Don't use func_get_args() directly as a function parameter for compatibility with PHP 5.2.x.
Fixes #4294