WordPress.org

Make WordPress Core

Changeset 23357


Ignore:
Timestamp:
01/31/13 01:01:19 (15 months ago)
Author:
SergeyBiryukov
Message:

Avoid 'Only variables should be passed by reference' warning. fixes #23232.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pomo/translations.php

    r22355 r23357  
    5858    } 
    5959 
    60     function set_headers(&$headers) { 
     60    function set_headers($headers) { 
    6161        foreach($headers as $header => $value) { 
    6262            $this->set_header($header, $value); 
     
    243243    } 
    244244 
    245     function set_headers(&$headers) { 
     245    function set_headers($headers) { 
    246246    } 
    247247 
Note: See TracChangeset for help on using the changeset viewer.