Open mrManner opened 11 years ago
The pages seem to work all right, so no hurry with this one.
Notice: Indirect modification of overloaded property WP_Post::$ancestors has no effect in /Users/jmanner/devscout/sc-wp-my/scouterna/inc/folded-child-submenu.php on line 65
Can't reproduce this but I thinks this will solve it.
Change line 65 from $ancestors = end( $post->ancestors );
$ancestors = end( $post->ancestors );
To $ancestors = end(get_post_ancestors($post));
$ancestors = end(get_post_ancestors($post));
The pages seem to work all right, so no hurry with this one.
Notice
Notice: Indirect modification of overloaded property WP_Post::$ancestors has no effect in /Users/jmanner/devscout/sc-wp-my/scouterna/inc/folded-child-submenu.php on line 65
Image :D