Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/14/2016 12:13:14 PM (10 years ago)
Author:
xknown
Message:

branch 0.9: Silence signature mismatch notices.

In PHP 7.0, they are reported as warnings http://php.net/manual/fr/migration70.incompatible.php#migration70.incompatible.error-handling.strict

See #3033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-includes/class.bb-walker.php

    r6153 r6170  
    66
    77    //abstract callbacks
    8     function start_lvl($output) { return $output; }
    9     function end_lvl($output)   { return $output; }
    10     function start_el($output)  { return $output; }
    11     function end_el($output)    { return $output; }
     8    function start_lvl($output, $depth) { return $output; }
     9    function end_lvl($output, $depth)   { return $output; }
     10    function start_el($output, $object, $depth = 0)  { return $output; }
     11    function end_el($output, $object, $depth = 0)    { return $output; }
    1212
    1313    function _init() {
     
    144144    }
    145145
    146     function start_el()  { return ''; }
    147     function end_el()    { return ''; }
     146    function start_el( $output, $object, $depth = 0 )  { return ''; }
     147    function end_el( $output, $object, $depth = 0 )    { return ''; }
    148148}
    149149
Note: See TracChangeset for help on using the changeset viewer.