#4294 closed defect (bug) (fixed)
func_get_args() can’t be used as a function parameter
| Reported by: | DJPaul | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Core | Version: | 1.6 |
| Severity: | blocker | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [6131]) Don't use func_get_args() directly as a function parameter for compatibility with PHP 5.2.x.
Fixes #4294