Hierarchy display setting is saved as null
-
Hello,
I am working on upgrading the breadcrumb plugin from 5.2.0 to 7.2.0 and it seems that checking the option Show the hierarchy (specified below) leading to a post in the breadcrumb trail gives a
null
whenever Ivar_dump
it.To test, you can add this line in
class.bcn_breadcrumb_trail.php
as the first line of the methodpost_hierarchy()
:$this->opt['bpost_' . $type . '_hierarchy_display'];
If the option is unchecked we get a
false
, which is expected, but if the option is checked, it dumps anull
.Since
null
is a falsy value, I can’t have my date breadcrumbs showing without tampering the first condition inpost_hierarchy
.Am I missing something ?
Thanks for reading me.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hierarchy display setting is saved as null’ is closed to new replies.