mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Fix E_STRICT notices in walkers. props dvarga. see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24377 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1325,7 +1325,7 @@ class Walker_Comment extends Walker {
|
||||
* @param int $depth Depth of comment in reference to parents.
|
||||
* @param array $args
|
||||
*/
|
||||
function start_el( &$output, $comment, $depth, $args, $id = 0 ) {
|
||||
function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) {
|
||||
$depth++;
|
||||
$GLOBALS['comment_depth'] = $depth;
|
||||
$GLOBALS['comment'] = $comment;
|
||||
|
||||
Reference in New Issue
Block a user