Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Andrew Bondar

    (@kronos1705)

    While waiting for an answer, I looked at the readme. It says:

    Fixed a deprecation notice for baskerville_nav_walker::display_element()

    After comparing the old and new functions.php file, I noticed that the line:

    function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args, &$output ) {

    Now it looks like:

    function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {

    Do I understand correctly that replacing $depth = 0 with $depth will solve the problem?

    Theme Author Anders Norén

    (@anlino)

    @kronos1705 That should fix that specific issue, yes!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Old version of Baskerville and PHP 8’ is closed to new replies.