WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#8766 closed defect (bug) (fixed)

wp-includes/http.php warning

Reported by: bobrik Owned by:
Milestone: 2.8 Priority: high
Severity: major Version:
Component: HTTP API Keywords:
Focuses: Cc:

Description

I see nex warning after latest svn up

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action_ref_array(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/.sirius/bobrik/bobrik.name/blog/wp-includes/http.php on line 1038

Seems that you need change something. Sorry, no patches today ;(

Change History (6)

comment:1 jacobsantos5 years ago

  • Milestone 2.7.1 deleted
  • Resolution set to invalid
  • Status changed from new to closed

WordPress supports PHP4, therefore the E_DEPRECATED notices will exist. Create a ticket for adding ~E_DEPRECATED to the error_reporting() in wp-settings.php.

comment:2 DD325 years ago

WordPress supports PHP4, therefore the E_DEPRECATED notices will exist. Create a ticket for adding ~E_DEPRECATED to the error_reporting() in wp-settings.php.

See #8701

comment:3 ryan5 years ago

  • Resolution changed from invalid to fixed

(In [10289]) Pass ref in array to avoid warning. fixes #8766

comment:4 ryan5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 ryan5 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

do_action_ref_array() exists to avoid this warning, so let's pass the ref as an array.

comment:6 ryan5 years ago

  • Milestone set to 2.8
Note: See TracTickets for help on using tickets.