WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2012 11:03:46 PM (10 years ago)
Author:
ryan
Message:

Clear strict notices for the walkers. fixes #19249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r19593 r19679  
    12391239     * @param array $args Uses 'style' argument for type of HTML list.
    12401240     */
    1241     function start_lvl(&$output, $depth, $args) {
     1241    function start_lvl( &$output, $depth = 0, $args = array() ) {
    12421242        $GLOBALS['comment_depth'] = $depth + 1;
    12431243
     
    12631263     * @param array $args Will only append content if style argument value is 'ol' or 'ul'.
    12641264     */
    1265     function end_lvl(&$output, $depth, $args) {
     1265    function end_lvl( &$output, $depth = 0, $args = array() ) {
    12661266        $GLOBALS['comment_depth'] = $depth + 1;
    12671267
     
    13271327     * @param array $args
    13281328     */
    1329     function start_el(&$output, $comment, $depth, $args) {
     1329    function start_el( &$output, $comment, $depth, $args, $id = 0 ) {
    13301330        $depth++;
    13311331        $GLOBALS['comment_depth'] = $depth;
     
    13871387     * @param array $args
    13881388     */
    1389     function end_el(&$output, $comment, $depth, $args) {
     1389    function end_el(&$output, $comment, $depth = 0, $args = array() ) {
    13901390        if ( !empty($args['end-callback']) ) {
    13911391            call_user_func($args['end-callback'], $comment, $args, $depth);
Note: See TracChangeset for help on using the changeset viewer.